From 9bb23b7d5e3606dad6e9b3976c3a1fad1cc2087a Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Wed, 6 Sep 2023 14:58:28 -0300 Subject: [PATCH] Bug 30451: DBIC schema Signed-off-by: Tomas Cohen Arazi --- Koha/Schema/Result/Aqorder.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Koha/Schema/Result/Aqorder.pm b/Koha/Schema/Result/Aqorder.pm index 03df029945..075cdba39a 100644 --- a/Koha/Schema/Result/Aqorder.pm +++ b/Koha/Schema/Result/Aqorder.pm @@ -798,7 +798,7 @@ __PACKAGE__->belongs_to( { is_deferrable => 1, join_type => "LEFT", - on_delete => "CASCADE", + on_delete => "SET NULL", on_update => "CASCADE", }, ); @@ -814,8 +814,8 @@ Composing rels: L -> borrowernumber __PACKAGE__->many_to_many("borrowernumbers", "aqorder_users", "borrowernumber"); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-05-05 12:31:38 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Bt8GMBWcWja5oa7r+8Vbig +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-09-06 17:56:52 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:aaj6mc1M13YFx5P0aXMiEQ __PACKAGE__->belongs_to( "basket", -- 2.39.5