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>
24 =item * L<DBIx::Class::TimeStamp>
30 __PACKAGE__->load_components("InflateColumn::DateTime", "TimeStamp");
32 =head1 TABLE: C<correspondent>
36 __PACKAGE__->table("correspondent");
45 sequence: 'correspondent_id_seq'
58 __PACKAGE__->add_columns(
61 data_type => "integer",
62 is_auto_increment => 1,
64 sequence => "correspondent_id_seq",
67 { data_type => "text", is_nullable => 0 },
80 __PACKAGE__->set_primary_key("id");
82 =head1 UNIQUE CONSTRAINTS
84 =head2 C<correspondent_addr_idx>
94 __PACKAGE__->add_unique_constraint("correspondent_addr_idx", ["addr"]);
102 Related object: L<Debbugs::DB::Result::Bug>
106 __PACKAGE__->has_many(
108 "Debbugs::DB::Result::Bug",
109 { "foreign.owner" => "self.id" },
110 { cascade_copy => 0, cascade_delete => 0 },
113 =head2 bug_submitters
117 Related object: L<Debbugs::DB::Result::Bug>
121 __PACKAGE__->has_many(
123 "Debbugs::DB::Result::Bug",
124 { "foreign.submitter" => "self.id" },
125 { cascade_copy => 0, cascade_delete => 0 },
132 Related object: L<Debbugs::DB::Result::Bug>
136 __PACKAGE__->has_many(
138 "Debbugs::DB::Result::Bug",
139 { "foreign.done" => "self.id" },
140 { cascade_copy => 0, cascade_delete => 0 },
143 =head2 correspondent_full_names
147 Related object: L<Debbugs::DB::Result::CorrespondentFullName>
151 __PACKAGE__->has_many(
152 "correspondent_full_names",
153 "Debbugs::DB::Result::CorrespondentFullName",
154 { "foreign.correspondent" => "self.id" },
155 { cascade_copy => 0, cascade_delete => 0 },
162 Related object: L<Debbugs::DB::Result::Maintainer>
166 __PACKAGE__->has_many(
168 "Debbugs::DB::Result::Maintainer",
169 { "foreign.correspondent" => "self.id" },
170 { cascade_copy => 0, cascade_delete => 0 },
173 =head2 message_correspondents
177 Related object: L<Debbugs::DB::Result::MessageCorrespondent>
181 __PACKAGE__->has_many(
182 "message_correspondents",
183 "Debbugs::DB::Result::MessageCorrespondent",
184 { "foreign.correspondent" => "self.id" },
185 { cascade_copy => 0, cascade_delete => 0 },
192 Related object: L<Debbugs::DB::Result::UserTag>
196 __PACKAGE__->has_many(
198 "Debbugs::DB::Result::UserTag",
199 { "foreign.correspondent" => "self.id" },
200 { cascade_copy => 0, cascade_delete => 0 },
204 # Created by DBIx::Class::Schema::Loader v0.07045 @ 2016-09-24 14:51:07
205 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:CUVcqt94wCYJOPbiPt00+Q
208 # You can replace this text with custom code or comments, and it will be preserved on regeneration