2 package Debbugs::DB::Result::Correspondent;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Debbugs::DB::Result::Correspondent - Individual who has corresponded with the BTS
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<correspondent>
34 __PACKAGE__->table("correspondent");
43 sequence: 'correspondent_id_seq'
56 __PACKAGE__->add_columns(
59 data_type => "integer",
60 is_auto_increment => 1,
62 sequence => "correspondent_id_seq",
65 { data_type => "text", is_nullable => 0 },
78 __PACKAGE__->set_primary_key("id");
80 =head1 UNIQUE CONSTRAINTS
82 =head2 C<correspondent_addr_key>
92 __PACKAGE__->add_unique_constraint("correspondent_addr_key", ["addr"]);
96 =head2 message_correspondents
100 Related object: L<Debbugs::DB::Result::MessageCorrespondent>
104 __PACKAGE__->has_many(
105 "message_correspondents",
106 "Debbugs::DB::Result::MessageCorrespondent",
107 { "foreign.correspondent" => "self.id" },
108 { cascade_copy => 0, cascade_delete => 0 },
112 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-01-22 21:35:43
113 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:1oERdaKncROw6eUENGs9aw
116 # You can replace this text with custom code or comments, and it will be preserved on regeneration