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>
28 __PACKAGE__->load_components("InflateColumn::DateTime");
30 =head1 TABLE: C<message_refs>
34 __PACKAGE__->table("message_refs");
43 sequence: 'message_refs_id_seq'
51 Message id (matches message)
59 Reference id (matches message)
67 TRUE if this message reference was reconstructed; primarily of use for messages which lack In-Reply-To: or References: headers
75 TRUE if this message->ref came from In-Reply-To: or similar.
79 __PACKAGE__->add_columns(
82 data_type => "integer",
83 is_auto_increment => 1,
85 sequence => "message_refs_id_seq",
88 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
90 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
92 { data_type => "boolean", default_value => \"false", is_nullable => 1 },
94 { data_type => "boolean", default_value => \"false", is_nullable => 1 },
107 __PACKAGE__->set_primary_key("id");
109 =head1 UNIQUE CONSTRAINTS
111 =head2 C<message_refs_message_refs_idx>
123 __PACKAGE__->add_unique_constraint("message_refs_message_refs_idx", ["message", "refs"]);
131 Related object: L<Debbugs::DB::Result::Message>
135 __PACKAGE__->belongs_to(
137 "Debbugs::DB::Result::Message",
139 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
146 Related object: L<Debbugs::DB::Result::Message>
150 __PACKAGE__->belongs_to(
152 "Debbugs::DB::Result::Message",
154 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
158 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-27 18:54:20
159 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+vwRG2KAV0YTTXZE0Vv21A
162 # You can replace this text with custom code or comments, and it will be preserved on regeneration