From 69a19fb5261bf1f7df4cba889a7b33b40bf57005 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Tue, 10 Oct 2023 09:43:14 -0300 Subject: [PATCH] Bug 12532: DBRev 23.06.00.031 Signed-off-by: Tomas Cohen Arazi --- Koha.pm | 2 +- .../230600031.pl} | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) rename installer/data/mysql/{atomicupdate/bug_12532-RedirectGuaranteeEmail_syspref.pl => db_revs/230600031.pl} (92%) diff --git a/Koha.pm b/Koha.pm index 96b466aea0..af28646666 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.030"; +$VERSION = "23.06.00.031"; sub version { return $VERSION; diff --git a/installer/data/mysql/atomicupdate/bug_12532-RedirectGuaranteeEmail_syspref.pl b/installer/data/mysql/db_revs/230600031.pl similarity index 92% rename from installer/data/mysql/atomicupdate/bug_12532-RedirectGuaranteeEmail_syspref.pl rename to installer/data/mysql/db_revs/230600031.pl index cd1add64b3..3ba7844f7a 100755 --- a/installer/data/mysql/atomicupdate/bug_12532-RedirectGuaranteeEmail_syspref.pl +++ b/installer/data/mysql/db_revs/230600031.pl @@ -16,11 +16,13 @@ return { say $out "Added system preference 'RedirectGuaranteeEmail'"; unless ( column_exists( 'message_queue', 'cc_address' ) ) { - $dbh->do(q{ + $dbh->do( + q{ ALTER TABLE `message_queue` ADD COLUMN `cc_address` longtext DEFAULT NULL AFTER `to_address` - }); + } + ); say $out "Added column 'cc_address'"; } }, -- 2.39.5