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'"; } },