From b497a8071bc64ce380c7044703495355e4ec541b Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Wed, 25 Oct 2023 10:43:51 -0300 Subject: [PATCH] Bug 8838: DBRev 23.06.00.052 Signed-off-by: Tomas Cohen Arazi --- Koha.pm | 2 +- .../{atomicupdate/bug_8838.pl => db_revs/230600052.pl} | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) rename installer/data/mysql/{atomicupdate/bug_8838.pl => db_revs/230600052.pl} (93%) diff --git a/Koha.pm b/Koha.pm index 0e0f8b55a8..2ca1512cb7 100644 --- a/Koha.pm +++ b/Koha.pm @@ -29,7 +29,7 @@ use vars qw{ $VERSION }; # - #4 : the developer version. The 4th number is the database subversion. # used by developers when the database changes. updatedatabase take care of the changes itself # and is automatically called by Auth.pm when needed. -$VERSION = "23.06.00.051"; +$VERSION = "23.06.00.052"; sub version { return $VERSION; diff --git a/installer/data/mysql/atomicupdate/bug_8838.pl b/installer/data/mysql/db_revs/230600052.pl similarity index 93% rename from installer/data/mysql/atomicupdate/bug_8838.pl rename to installer/data/mysql/db_revs/230600052.pl index b8a59bd233..416e30d42e 100755 --- a/installer/data/mysql/atomicupdate/bug_8838.pl +++ b/installer/data/mysql/db_revs/230600052.pl @@ -13,11 +13,16 @@ return { } ); + say $out "Added new notice 'HOLDDGST' (email)"; + $dbh->do( q{ INSERT IGNORE INTO `letter` VALUES (NULL,'reserves','HOLDDGST','','Hold available for pickup (digest)',0,'Hold(s) available for pickup','You have one or more holds available for pickup:\r\n----\r\n[% hold.biblio.title %]\r\n----','sms','default','2023-08-29 18:42:15'); } ); + + say $out "Added new notice 'HOLDDGST' (sms)"; + $dbh->do( q{ INSERT IGNORE INTO message_transports VALUES @@ -26,9 +31,5 @@ return { ( 4, "phone", 1, "reserves", "HOLDDGST", ""); } ); - - # Print useful stuff here - # tables - say $out "Added new notice 'HOLDDGST'"; }, }; -- 2.39.5