From f7ba4d1a3062d5d501ebba483f8921618ed9a9cd Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Wed, 1 Nov 2023 15:24:43 -0300 Subject: [PATCH] Bug 34520: DBIC schema Signed-off-by: Tomas Cohen Arazi (cherry picked from commit c7571c6a3295835c5016d02360af6ba7c4aecdeb) Signed-off-by: Fridolin Somers (cherry picked from commit 9250630098cdad674baaf0d6b71a437099a362e7) Signed-off-by: Matt Blenkinsop --- Koha/Schema/Result/Reserve.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Koha/Schema/Result/Reserve.pm b/Koha/Schema/Result/Reserve.pm index 12b7855af8..b6402955c1 100644 --- a/Koha/Schema/Result/Reserve.pm +++ b/Koha/Schema/Result/Reserve.pm @@ -410,7 +410,7 @@ __PACKAGE__->belongs_to( { is_deferrable => 1, join_type => "LEFT", - on_delete => "CASCADE", + on_delete => "SET NULL", on_update => "CASCADE", }, ); @@ -456,8 +456,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-02-10 14:01:25 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:NO6FSSL1Hw3wBRGG6B5BnQ +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-11-01 18:21:38 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:6BAjuPSwjtyWJaJN9fcOtg __PACKAGE__->belongs_to( "item", -- 2.39.5