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"]);
100 Related object: L<Debbugs::DB::Result::Bug>
104 __PACKAGE__->has_many(
106 "Debbugs::DB::Result::Bug",
107 { "foreign.owner" => "self.id" },
108 { cascade_copy => 0, cascade_delete => 0 },
111 =head2 bug_submitters
115 Related object: L<Debbugs::DB::Result::Bug>
119 __PACKAGE__->has_many(
121 "Debbugs::DB::Result::Bug",
122 { "foreign.submitter" => "self.id" },
123 { cascade_copy => 0, cascade_delete => 0 },
130 Related object: L<Debbugs::DB::Result::Bug>
134 __PACKAGE__->has_many(
136 "Debbugs::DB::Result::Bug",
137 { "foreign.done" => "self.id" },
138 { cascade_copy => 0, cascade_delete => 0 },
141 =head2 correspondent_full_names
145 Related object: L<Debbugs::DB::Result::CorrespondentFullName>
149 __PACKAGE__->has_many(
150 "correspondent_full_names",
151 "Debbugs::DB::Result::CorrespondentFullName",
152 { "foreign.correspondent" => "self.id" },
153 { cascade_copy => 0, cascade_delete => 0 },
160 Related object: L<Debbugs::DB::Result::Maintainer>
164 __PACKAGE__->has_many(
166 "Debbugs::DB::Result::Maintainer",
167 { "foreign.correspondent" => "self.id" },
168 { cascade_copy => 0, cascade_delete => 0 },
171 =head2 message_correspondents
175 Related object: L<Debbugs::DB::Result::MessageCorrespondent>
179 __PACKAGE__->has_many(
180 "message_correspondents",
181 "Debbugs::DB::Result::MessageCorrespondent",
182 { "foreign.correspondent" => "self.id" },
183 { cascade_copy => 0, cascade_delete => 0 },
187 # Created by DBIx::Class::Schema::Loader v0.07036 @ 2013-10-09 20:27:54
188 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Wyisfi/87NgArvWis4/tuw
191 # You can replace this text with custom code or comments, and it will be preserved on regeneration