From 5b803d2b2a0e373e1e747809f106ad2dd2061a42 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Wed, 25 Oct 2023 09:49:00 -0300 Subject: [PATCH] Bug 31503: DBRev 23.06.00.049 Signed-off-by: Tomas Cohen Arazi --- Koha.pm | 2 +- .../mysql/{atomicupdate/bug31503.pl => db_revs/230600049.pl} | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) rename installer/data/mysql/{atomicupdate/bug31503.pl => db_revs/230600049.pl} (59%) diff --git a/Koha.pm b/Koha.pm index 7cf58a5387..e7a5443646 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.048"; +$VERSION = "23.06.00.049"; sub version { return $VERSION; diff --git a/installer/data/mysql/atomicupdate/bug31503.pl b/installer/data/mysql/db_revs/230600049.pl similarity index 59% rename from installer/data/mysql/atomicupdate/bug31503.pl rename to installer/data/mysql/db_revs/230600049.pl index 2b4e55ece3..1bacc52228 100755 --- a/installer/data/mysql/atomicupdate/bug31503.pl +++ b/installer/data/mysql/db_revs/230600049.pl @@ -8,7 +8,10 @@ return { my ( $dbh, $out ) = @$args{qw(dbh out)}; $dbh->do( - q{ALTER TABLE `patron_consent` MODIFY `type` tinytext COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'consent type, could be custom type'} + q{ + ALTER TABLE `patron_consent` + MODIFY `type` tinytext COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'consent type, could be custom type' + } ); say $out "Changed column 'patron_consent.type'"; }, -- 2.39.5