]> git.donarmstrong.com Git - debbugs.git/blobdiff - Debbugs/DB/Result/Maintainer.pm
Add id to bug_ver and some more indices
[debbugs.git] / Debbugs / DB / Result / Maintainer.pm
index f95ab1bdbb760b01c266bcd875600313aacaa7a0..a15e55cca923d1d0ddf10acdde4bbeda1b59e038 100644 (file)
@@ -121,7 +121,7 @@ __PACKAGE__->set_primary_key("id");
 
 =head1 UNIQUE CONSTRAINTS
 
-=head2 C<maintainer_name_key>
+=head2 C<maintainer_name_idx>
 
 =over 4
 
@@ -131,7 +131,7 @@ __PACKAGE__->set_primary_key("id");
 
 =cut
 
-__PACKAGE__->add_unique_constraint("maintainer_name_key", ["name"]);
+__PACKAGE__->add_unique_constraint("maintainer_name_idx", ["name"]);
 
 =head1 RELATIONS
 
@@ -161,13 +161,13 @@ Related object: L<Debbugs::DB::Result::SrcVer>
 __PACKAGE__->has_many(
   "src_vers",
   "Debbugs::DB::Result::SrcVer",
-  { "foreign.maintainer_id" => "self.id" },
+  { "foreign.maintainer" => "self.id" },
   { cascade_copy => 0, cascade_delete => 0 },
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07036 @ 2013-10-09 20:27:54
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:wKZL5dHGvpVvuI9o0mh7fQ
+# Created by DBIx::Class::Schema::Loader v0.07036 @ 2013-11-23 17:31:18
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:5E4fT7G2x7wdPfr7SMqgGg
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration