]> git.donarmstrong.com Git - debbugs.git/blobdiff - Debbugs/DB/Result/Correspondent.pm
update result classes for new relationships
[debbugs.git] / Debbugs / DB / Result / Correspondent.pm
index 857159eb49f005f42d87cfe6278ba6f1fa7da6ad..24cba227e4982d1bafa63fe3a03f9d349cf32c20 100644 (file)
@@ -93,6 +93,66 @@ __PACKAGE__->add_unique_constraint("correspondent_addr_key", ["addr"]);
 
 =head1 RELATIONS
 
+=head2 bug_owners
+
+Type: has_many
+
+Related object: L<Debbugs::DB::Result::Bug>
+
+=cut
+
+__PACKAGE__->has_many(
+  "bug_owners",
+  "Debbugs::DB::Result::Bug",
+  { "foreign.owner" => "self.id" },
+  { cascade_copy => 0, cascade_delete => 0 },
+);
+
+=head2 bug_submitters
+
+Type: has_many
+
+Related object: L<Debbugs::DB::Result::Bug>
+
+=cut
+
+__PACKAGE__->has_many(
+  "bug_submitters",
+  "Debbugs::DB::Result::Bug",
+  { "foreign.submitter" => "self.id" },
+  { cascade_copy => 0, cascade_delete => 0 },
+);
+
+=head2 bugs_done
+
+Type: has_many
+
+Related object: L<Debbugs::DB::Result::Bug>
+
+=cut
+
+__PACKAGE__->has_many(
+  "bugs_done",
+  "Debbugs::DB::Result::Bug",
+  { "foreign.done" => "self.id" },
+  { cascade_copy => 0, cascade_delete => 0 },
+);
+
+=head2 correspondent_full_names
+
+Type: has_many
+
+Related object: L<Debbugs::DB::Result::CorrespondentFullName>
+
+=cut
+
+__PACKAGE__->has_many(
+  "correspondent_full_names",
+  "Debbugs::DB::Result::CorrespondentFullName",
+  { "foreign.correspondent" => "self.id" },
+  { cascade_copy => 0, cascade_delete => 0 },
+);
+
 =head2 message_correspondents
 
 Type: has_many
@@ -109,8 +169,8 @@ __PACKAGE__->has_many(
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-01-22 21:35:43
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:1oERdaKncROw6eUENGs9aw
+# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-27 18:54:20
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:PnVRI1FMGlY8Go0XOM3wwA
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration