From 932f5c2ad558bde7bc613a15aeb24f3c16d9fd48 Mon Sep 17 00:00:00 2001 From: Brendan A Gallagher Date: Fri, 1 Apr 2016 22:05:12 +0000 Subject: [PATCH] Updating the Schema for bugs 7736 and 15630 Signed-off-by: Brendan A Gallagher --- Koha/Schema/Result/VendorEdiAccount.pm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Koha/Schema/Result/VendorEdiAccount.pm b/Koha/Schema/Result/VendorEdiAccount.pm index 20f9fa5095..9a60720b94 100644 --- a/Koha/Schema/Result/VendorEdiAccount.pm +++ b/Koha/Schema/Result/VendorEdiAccount.pm @@ -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 -- 2.20.1