2 package Debbugs::DB::Result::MessageRef;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Debbugs::DB::Result::MessageRef - Message references
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<message_refs>
36 __PACKAGE__->table("message_refs");
45 sequence: 'message_refs_id_seq'
53 Message id (matches message)
61 Reference id (matches message)
69 TRUE if this message reference was reconstructed; primarily of use for messages which lack In-Reply-To: or References: headers
77 TRUE if this message->ref came from In-Reply-To: or similar.
81 __PACKAGE__->add_columns(
84 data_type => "integer",
85 is_auto_increment => 1,
87 sequence => "message_refs_id_seq",
90 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
92 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
94 { data_type => "boolean", default_value => \"false", is_nullable => 1 },
96 { data_type => "boolean", default_value => \"false", is_nullable => 1 },
109 __PACKAGE__->set_primary_key("id");
111 =head1 UNIQUE CONSTRAINTS
113 =head2 C<message_refs_message_refs_idx>
125 __PACKAGE__->add_unique_constraint("message_refs_message_refs_idx", ["message", "refs"]);
133 Related object: L<Debbugs::DB::Result::Message>
137 __PACKAGE__->belongs_to(
139 "Debbugs::DB::Result::Message",
141 { is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" },
148 Related object: L<Debbugs::DB::Result::Message>
152 __PACKAGE__->belongs_to(
154 "Debbugs::DB::Result::Message",
156 { is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" },
160 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2014-11-30 21:56:51
161 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:AYCyNKkqOAjoWVelU0HKrA
164 # You can replace this text with custom code or comments, and it will be preserved on regeneration