]> git.donarmstrong.com Git - debbugs.git/blobdiff - Debbugs/DB/Result/SrcPkg.pm
update result classes for new relationships
[debbugs.git] / Debbugs / DB / Result / SrcPkg.pm
index 66d626818591b8ba077d046e17c1acf2ecbc0ef1..ac28c908988bc0ac43ea47b1e13692c29204c3d0 100644 (file)
@@ -6,7 +6,7 @@ package Debbugs::DB::Result::SrcPkg;
 
 =head1 NAME
 
-Debbugs::DB::Result::SrcPkg
+Debbugs::DB::Result::SrcPkg - Source packages
 
 =cut
 
@@ -42,11 +42,15 @@ __PACKAGE__->table("src_pkg");
   is_nullable: 0
   sequence: 'src_pkg_id_seq'
 
+Source package id
+
 =head2 pkg
 
   data_type: 'text'
   is_nullable: 0
 
+Source package name
+
 =head2 pseduopkg
 
   data_type: 'boolean'
@@ -59,6 +63,8 @@ __PACKAGE__->table("src_pkg");
   is_foreign_key: 1
   is_nullable: 1
 
+Source package id which this source package is an alias of
+
 =cut
 
 __PACKAGE__->add_columns(
@@ -136,7 +142,7 @@ Related object: L<Debbugs::DB::Result::BugSrcpackage>
 __PACKAGE__->has_many(
   "bug_srcpackages",
   "Debbugs::DB::Result::BugSrcpackage",
-  { "foreign.src_pkg_id" => "self.id" },
+  { "foreign.src_pkg" => "self.id" },
   { cascade_copy => 0, cascade_delete => 0 },
 );
 
@@ -151,7 +157,7 @@ Related object: L<Debbugs::DB::Result::BugVer>
 __PACKAGE__->has_many(
   "bug_vers",
   "Debbugs::DB::Result::BugVer",
-  { "foreign.src_pkg_id" => "self.id" },
+  { "foreign.src_pkg" => "self.id" },
   { cascade_copy => 0, cascade_delete => 0 },
 );
 
@@ -181,13 +187,13 @@ Related object: L<Debbugs::DB::Result::SrcVer>
 __PACKAGE__->has_many(
   "src_vers",
   "Debbugs::DB::Result::SrcVer",
-  { "foreign.src_pkg_id" => "self.id" },
+  { "foreign.src_pkg" => "self.id" },
   { cascade_copy => 0, cascade_delete => 0 },
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2012-11-23 17:41:43
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:s3tqzD1crqO0a57NzVkWDg
+# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-27 18:54:20
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:w1ifDwgGG57aeGxFptavbg
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration