Updating the Schema for bugs 7736 and 15630
authorBrendan A Gallagher <brendan@bywatersolutions.com>
Fri, 1 Apr 2016 22:05:12 +0000 (22:05 +0000)
committerBrendan A Gallagher <brendan@bywatersolutions.com>
Fri, 1 Apr 2016 22:05:12 +0000 (22:05 +0000)
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
Koha/Schema/Result/VendorEdiAccount.pm

index 20f9fa5..9a60720 100644 (file)
@@ -224,8 +224,8 @@ __PACKAGE__->belongs_to(
   {
     is_deferrable => 1,
     join_type     => "LEFT",
-    on_delete     => "CASCADE",
-    on_update     => "CASCADE",
+    on_delete     => "RESTRICT",
+    on_update     => "RESTRICT",
   },
 );
 
@@ -244,14 +244,14 @@ __PACKAGE__->belongs_to(
   {
     is_deferrable => 1,
     join_type     => "LEFT",
-    on_delete     => "CASCADE",
-    on_update     => "CASCADE",
+    on_delete     => "RESTRICT",
+    on_update     => "RESTRICT",
   },
 );
 
 
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2015-12-21 12:59:02
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:xPfUnPxnQOmWWX3shkTVRA
+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-04-01 21:58:03
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:rsSTteR7nV22B/kxr33BBA
 
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration