From aff8ae3160bd8e97b3d86dd8be2e202c2dabfc72 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 (cherry picked from commit 9bb23b7d5e3606dad6e9b3976c3a1fad1cc2087a) Signed-off-by: Fridolin Somers (cherry picked from commit b0ef950ce269d1f1d25893c0f7ce1a44ad62864f) Signed-off-by: Matt Blenkinsop --- 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 65db439d01..374917de2d 100644 --- a/Koha/Schema/Result/Aqorder.pm +++ b/Koha/Schema/Result/Aqorder.pm @@ -757,7 +757,7 @@ __PACKAGE__->belongs_to( { is_deferrable => 1, join_type => "LEFT", - on_delete => "CASCADE", + on_delete => "SET NULL", on_update => "CASCADE", }, ); @@ -773,8 +773,8 @@ Composing rels: L -> borrowernumber __PACKAGE__->many_to_many("borrowernumbers", "aqorder_users", "borrowernumber"); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-05-12 13:58:24 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:InHa9wNjnhz0LS0TzVVPNg +# 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