]> git.donarmstrong.com Git - debbugs.git/blobdiff - Debbugs/DB/Result/BugMerged.pm
handle affects properly and upgrade schema
[debbugs.git] / Debbugs / DB / Result / BugMerged.pm
index 881136df37f218380969a32cbe3865359873bda2..405b44823ac5b715b8c0d18386e6be04fb71200b 100644 (file)
@@ -21,11 +21,13 @@ use base 'DBIx::Class::Core';
 
 =item * L<DBIx::Class::InflateColumn::DateTime>
 
+=item * L<DBIx::Class::TimeStamp>
+
 =back
 
 =cut
 
-__PACKAGE__->load_components("InflateColumn::DateTime");
+__PACKAGE__->load_components("InflateColumn::DateTime", "TimeStamp");
 
 =head1 TABLE: C<bug_merged>
 
@@ -116,7 +118,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 merged
@@ -131,12 +133,12 @@ __PACKAGE__->belongs_to(
   "merged",
   "Debbugs::DB::Result::Bug",
   { id => "merged" },
-  { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
+  { 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:We33XZGYf3rBQO/xmfEOrg
+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2014-11-30 21:56:51
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:HdGeCb1Fh2cU08+TTQVi/Q
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration