From 62f280cd5e74dee37979c7d19622d369f401edb2 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Thu, 15 May 2025 07:01:53 +0000 Subject: [PATCH] Bug 38457: DBRev 24.12.00.045 Signed-off-by: Katrin Fischer --- Koha.pm | 2 +- .../mysql/{atomicupdate/bug_38457.pl => db_revs/241200045.pl} | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) rename installer/data/mysql/{atomicupdate/bug_38457.pl => db_revs/241200045.pl} (68%) diff --git a/Koha.pm b/Koha.pm index c819dae2df..eea0f40ff0 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 = "24.12.00.044"; +$VERSION = "24.12.00.045"; sub version { return $VERSION; diff --git a/installer/data/mysql/atomicupdate/bug_38457.pl b/installer/data/mysql/db_revs/241200045.pl similarity index 68% rename from installer/data/mysql/atomicupdate/bug_38457.pl rename to installer/data/mysql/db_revs/241200045.pl index 4f7cb4f9ef..32c63a54cf 100755 --- a/installer/data/mysql/atomicupdate/bug_38457.pl +++ b/installer/data/mysql/db_revs/241200045.pl @@ -1,4 +1,5 @@ use Modern::Perl; +use Koha::Installer::Output qw(say_warning say_success say_info); return { bug_number => "38457", @@ -9,6 +10,6 @@ return { $dbh->do(q{ ALTER TABLE additional_field_values MODIFY record_id VARCHAR(80) NOT NULL DEFAULT ''; }); - say $out "Converted record_id to VARCHAR(80)"; + say_success( $out, "Converted additional_field_values.record_id to VARCHAR(80)" ); }, };