From 9ba5d0a839aa793351a4ccc8f265d508de8ac19c Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Thu, 20 Feb 2025 11:49:32 +0000 Subject: [PATCH] Bug 32630: dbic Sponsored-by: UKHSA - UK Health Security Agency Signed-off-by: Jeremy Evans --- Koha/Schema/Result/Illrequest.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Koha/Schema/Result/Illrequest.pm b/Koha/Schema/Result/Illrequest.pm index 98d68f700b9..dfae038101f 100644 --- a/Koha/Schema/Result/Illrequest.pm +++ b/Koha/Schema/Result/Illrequest.pm @@ -320,7 +320,7 @@ __PACKAGE__->belongs_to( { is_deferrable => 1, join_type => "LEFT", - on_delete => "CASCADE", + on_delete => "SET NULL", on_update => "CASCADE", }, ); @@ -391,8 +391,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-10-10 14:49:40 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:DQl+7uwLCz5GeqU2hBFmMA +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-02-20 11:49:09 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:j2oiQexaFvCRT3zj6ntdpA __PACKAGE__->has_many( "comments", -- 2.39.5