2 package Debbugs::DB::Result::BugMessage;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Debbugs::DB::Result::BugMessage
16 use base 'DBIx::Class::Core';
18 =head1 COMPONENTS LOADED
22 =item * L<DBIx::Class::InflateColumn::DateTime>
24 =item * L<DBIx::Class::TimeStamp>
30 __PACKAGE__->load_components("InflateColumn::DateTime", "TimeStamp");
32 =head1 TABLE: C<bug_message>
36 __PACKAGE__->table("bug_message");
45 sequence: 'bug_message_id_seq'
61 Message id (matches message)
68 Message number in the bug log
75 Byte offset in the bug log
79 data_type: 'timestamp with time zone'
86 __PACKAGE__->add_columns(
89 data_type => "integer",
90 is_auto_increment => 1,
92 sequence => "bug_message_id_seq",
95 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
97 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
99 { data_type => "integer", is_nullable => 0 },
101 { data_type => "integer", is_nullable => 1 },
103 { data_type => "timestamp with time zone", is_nullable => 1 },
116 __PACKAGE__->set_primary_key("id");
118 =head1 UNIQUE CONSTRAINTS
120 =head2 C<bug_message_bug_message_idx>
132 __PACKAGE__->add_unique_constraint("bug_message_bug_message_idx", ["bug", "message"]);
140 Related object: L<Debbugs::DB::Result::Bug>
144 __PACKAGE__->belongs_to(
146 "Debbugs::DB::Result::Bug",
148 { is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" },
155 Related object: L<Debbugs::DB::Result::Message>
159 __PACKAGE__->belongs_to(
161 "Debbugs::DB::Result::Message",
163 { is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" },
167 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2014-11-30 21:56:51
168 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:gof8IcnKupbpDmbU39kx6A
171 # You can replace this text with custom code or comments, and it will be preserved on regeneration