From a8cb53a045f1397bd42e2c12dfe764ab3d030956 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Tue, 22 Apr 2025 06:45:42 +0000 Subject: [PATCH] Bug 39062: DBRev 24.12.00.026 Signed-off-by: Katrin Fischer --- Koha.pm | 2 +- .../241200026.pl} | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) rename installer/data/mysql/{atomicupdate/bug_39062_increase_stocknumber_length.pl => db_revs/241200026.pl} (75%) diff --git a/Koha.pm b/Koha.pm index 709ad02420..e29f46be64 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.025"; +$VERSION = "24.12.00.026"; sub version { return $VERSION; diff --git a/installer/data/mysql/atomicupdate/bug_39062_increase_stocknumber_length.pl b/installer/data/mysql/db_revs/241200026.pl similarity index 75% rename from installer/data/mysql/atomicupdate/bug_39062_increase_stocknumber_length.pl rename to installer/data/mysql/db_revs/241200026.pl index 782705a80e..bc0a6af634 100755 --- a/installer/data/mysql/atomicupdate/bug_39062_increase_stocknumber_length.pl +++ b/installer/data/mysql/db_revs/241200026.pl @@ -8,7 +8,6 @@ return { my ($args) = @_; my ( $dbh, $out ) = @$args{qw(dbh out)}; - # Do you stuffs here $dbh->do( q{ALTER TABLE items MODIFY COLUMN stocknumber varchar(80) DEFAULT NULL COMMENT 'inventory number (MARC21 952$i)'} ); @@ -16,9 +15,7 @@ return { q{ALTER TABLE deleteditems MODIFY COLUMN stocknumber varchar(80) DEFAULT NULL COMMENT 'inventory number (MARC21 952$i)'} ); - # Print useful stuff here - # tables - say $out "Increased length of items.stocknumber"; - say $out "Increased length of deleteditems.stocknumber"; + say_success( $out, "Increased length of items.stocknumber" ); + say_success( $out, "Increased length of deleteditems.stocknumber" ); }, };