From c171a5d45eb7f3e539209bed0301289c536c6e0e Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Thu, 22 Sep 2022 08:31:54 -0300 Subject: [PATCH] Bug 30490: DBIC schema Signed-off-by: Tomas Cohen Arazi --- Koha/Schema/Result/Itemtype.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Koha/Schema/Result/Itemtype.pm b/Koha/Schema/Result/Itemtype.pm index 1e14063e1d..99fb6de5a5 100644 --- a/Koha/Schema/Result/Itemtype.pm +++ b/Koha/Schema/Result/Itemtype.pm @@ -312,8 +312,8 @@ __PACKAGE__->belongs_to( { is_deferrable => 1, join_type => "LEFT", - on_delete => "CASCADE", - on_update => "CASCADE", + on_delete => "RESTRICT", + on_update => "RESTRICT", }, ); @@ -333,8 +333,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-04-22 09:12:04 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/kFAnQQ7q1KaLJ9h7vk0vg +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-09-22 11:31:25 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:SoRKIMEqXE2+RkGq6zBejA __PACKAGE__->add_columns( '+rentalcharge_hourly_calendar' => { is_boolean => 1 }, -- 2.39.2