X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Debbugs%2FDB%2FResult%2FBugTag.pm;h=81c16edf20533e04d87f5c30a2a1cd8ca857abda;hb=e37255f8eb68d4efc64ca29c31fdb1c8b51eb458;hp=d68a93a8176a459ca6bba27e52e438c80a405a8c;hpb=4e8afc7b0508afa3e3f6f9bc5b4666db25a60a47;p=debbugs.git diff --git a/Debbugs/DB/Result/BugTag.pm b/Debbugs/DB/Result/BugTag.pm index d68a93a..81c16ed 100644 --- a/Debbugs/DB/Result/BugTag.pm +++ b/Debbugs/DB/Result/BugTag.pm @@ -50,7 +50,7 @@ __PACKAGE__->table("bug_tag"); Bug id (matches bug) -=head2 tag_id +=head2 tag data_type: 'integer' is_foreign_key: 1 @@ -70,7 +70,7 @@ __PACKAGE__->add_columns( }, "bug", { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, - "tag_id", + "tag", { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, ); @@ -94,13 +94,13 @@ __PACKAGE__->set_primary_key("id"); =item * L -=item * L +=item * L =back =cut -__PACKAGE__->add_unique_constraint("bug_tag_bug_tag_id", ["bug", "tag_id"]); +__PACKAGE__->add_unique_constraint("bug_tag_bug_tag_id", ["bug", "tag"]); =head1 RELATIONS @@ -130,13 +130,13 @@ Related object: L __PACKAGE__->belongs_to( "tag", "Debbugs::DB::Result::Tag", - { id => "tag_id" }, + { id => "tag" }, { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, ); -# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-25 18:43:53 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:fGlaYDuI8YCGvA1gY7DNaQ +# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-04-01 15:46:42 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7cqkTgwzMw4wP3LtAKaBDg # You can replace this text with custom code or comments, and it will be preserved on regeneration