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>
28 __PACKAGE__->load_components("InflateColumn::DateTime");
30 =head1 TABLE: C<bug_message>
34 __PACKAGE__->table("bug_message");
43 sequence: 'bug_message_id_seq'
59 Message id (matches message)
66 Message number in the bug log
73 Byte offset in the bug log
77 data_type: 'timestamp with time zone'
84 __PACKAGE__->add_columns(
87 data_type => "integer",
88 is_auto_increment => 1,
90 sequence => "bug_message_id_seq",
93 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
95 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
97 { data_type => "integer", is_nullable => 0 },
99 { data_type => "integer", is_nullable => 1 },
101 { data_type => "timestamp with time zone", is_nullable => 1 },
114 __PACKAGE__->set_primary_key("id");
116 =head1 UNIQUE CONSTRAINTS
118 =head2 C<bug_message_bug_message_idx>
130 __PACKAGE__->add_unique_constraint("bug_message_bug_message_idx", ["bug", "message"]);
138 Related object: L<Debbugs::DB::Result::Bug>
142 __PACKAGE__->belongs_to(
144 "Debbugs::DB::Result::Bug",
146 { is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" },
153 Related object: L<Debbugs::DB::Result::Message>
157 __PACKAGE__->belongs_to(
159 "Debbugs::DB::Result::Message",
161 { is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" },
165 # Created by DBIx::Class::Schema::Loader v0.07036 @ 2013-11-24 20:30:07
166 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:j9PbT+q4tBJhimXl7TQgLg
169 # You can replace this text with custom code or comments, and it will be preserved on regeneration