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");
122 Related object: L<Debbugs::DB::Result::Bug>
126 __PACKAGE__->belongs_to(
128 "Debbugs::DB::Result::Bug",
130 { is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" },
137 Related object: L<Debbugs::DB::Result::Message>
141 __PACKAGE__->belongs_to(
143 "Debbugs::DB::Result::Message",
145 { is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" },
149 # Created by DBIx::Class::Schema::Loader v0.07036 @ 2013-10-09 20:27:54
150 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:mDjAtzaj5diA9b0YFK/7cA
153 # You can replace this text with custom code or comments, and it will be preserved on regeneration