]> git.donarmstrong.com Git - debbugs.git/blobdiff - Debbugs/DB/Result/BugTag.pm
update for correspondent in maintainer
[debbugs.git] / Debbugs / DB / Result / BugTag.pm
index d68a93a8176a459ca6bba27e52e438c80a405a8c..1f3d30e7f96fde49d90dfdba8c7f34279f7c5005 100644 (file)
@@ -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</bug>
 
-=item * L</tag_id>
+=item * L</tag>
 
 =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
 
@@ -116,7 +116,7 @@ __PACKAGE__->belongs_to(
   "bug",
   "Debbugs::DB::Result::Bug",
   { id => "bug" },
-  { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
+  { is_deferrable => 0, on_delete => "NO ACTION", on_update => "NO ACTION" },
 );
 
 =head2 tag
@@ -130,13 +130,13 @@ Related object: L<Debbugs::DB::Result::Tag>
 __PACKAGE__->belongs_to(
   "tag",
   "Debbugs::DB::Result::Tag",
-  { id => "tag_id" },
-  { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
+  { id => "tag" },
+  { is_deferrable => 0, on_delete => "NO ACTION", on_update => "NO ACTION" },
 );
 
 
-# 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.07036 @ 2013-10-09 20:27:54
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Cu5Qrkpu/4fEUNUBgUEmWw
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration