X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Debbugs%2FDB%2FResult%2FBinPkg.pm;h=861c7660aa56a92062e3913128c8df00b47929af;hb=c35f49b5c19d83704275f3b2b5e6e006b7667d91;hp=1635c1e1222c7e1c2af4aeac3659406b5aff98ad;hpb=60ade99b81c127cad67ef6cee889cb5f4cff3f57;p=debbugs.git diff --git a/Debbugs/DB/Result/BinPkg.pm b/Debbugs/DB/Result/BinPkg.pm index 1635c1e..861c766 100644 --- a/Debbugs/DB/Result/BinPkg.pm +++ b/Debbugs/DB/Result/BinPkg.pm @@ -6,7 +6,7 @@ package Debbugs::DB::Result::BinPkg; =head1 NAME -Debbugs::DB::Result::BinPkg +Debbugs::DB::Result::BinPkg - Binary packages =cut @@ -42,11 +42,15 @@ __PACKAGE__->table("bin_pkg"); is_nullable: 0 sequence: 'bin_pkg_id_seq' +Binary package id + =head2 pkg data_type: 'text' is_nullable: 0 +Binary package name + =cut __PACKAGE__->add_columns( @@ -100,7 +104,7 @@ Related object: L __PACKAGE__->has_many( "bin_vers", "Debbugs::DB::Result::BinVer", - { "foreign.bin_pkg_id" => "self.id" }, + { "foreign.bin_pkg" => "self.id" }, { cascade_copy => 0, cascade_delete => 0 }, ); @@ -115,13 +119,13 @@ Related object: L __PACKAGE__->has_many( "bug_binpackages", "Debbugs::DB::Result::BugBinpackage", - { "foreign.bin_pkg_id" => "self.id" }, + { "foreign.bin_pkg" => "self.id" }, { cascade_copy => 0, cascade_delete => 0 }, ); -# Created by DBIx::Class::Schema::Loader v0.07025 @ 2012-07-17 21:09:18 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:yA4czi38S+fA2P6aKn+UAw +# Created by DBIx::Class::Schema::Loader v0.07036 @ 2013-10-09 20:27:54 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:k32MQX4vbBhX4m9+EqR7ww # You can replace this text with custom code or comments, and it will be preserved on regeneration