]> git.donarmstrong.com Git - debbugs.git/blobdiff - Debbugs/DB/Result/SrcVer.pm
Switch to severity table
[debbugs.git] / Debbugs / DB / Result / SrcVer.pm
index 2ab36e7bce75d6dad38467ca29557a9076d096c0..0b86ceda1950466c6f6e44bd30e6e87cbed7e6a0 100644 (file)
@@ -44,7 +44,7 @@ __PACKAGE__->table("src_ver");
 
 Source package version id
 
-=head2 src_pkg_id
+=head2 src_pkg
 
   data_type: 'integer'
   is_foreign_key: 1
@@ -94,7 +94,7 @@ __PACKAGE__->add_columns(
     is_nullable       => 0,
     sequence          => "src_ver_id_seq",
   },
-  "src_pkg_id",
+  "src_pkg",
   { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
   "ver",
   { data_type => "debversion", is_nullable => 0 },
@@ -129,7 +129,7 @@ __PACKAGE__->set_primary_key("id");
 
 =over 4
 
-=item * L</src_pkg_id>
+=item * L</src_pkg>
 
 =item * L</ver>
 
@@ -137,7 +137,7 @@ __PACKAGE__->set_primary_key("id");
 
 =cut
 
-__PACKAGE__->add_unique_constraint("src_ver_src_pkg_id_ver", ["src_pkg_id", "ver"]);
+__PACKAGE__->add_unique_constraint("src_ver_src_pkg_id_ver", ["src_pkg", "ver"]);
 
 =head1 RELATIONS
 
@@ -237,7 +237,7 @@ Related object: L<Debbugs::DB::Result::SrcPkg>
 __PACKAGE__->belongs_to(
   "src_pkg",
   "Debbugs::DB::Result::SrcPkg",
-  { id => "src_pkg_id" },
+  { id => "src_pkg" },
   { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
 );
 
@@ -257,8 +257,8 @@ __PACKAGE__->has_many(
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2012-12-03 15:57:07
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:YB4WADgoa3KiJq2OdeSmmQ
+# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-25 18:43:53
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:I9bHyZBAJim7KZNk9Yd6Vw
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration