From 0839da8fc0449e9c412b6a0b8bcfaa90b869c4e9 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Fri, 25 Oct 2024 13:21:24 +0000 Subject: [PATCH] Bug 35906: DBRev 24.06.00.045 Signed-off-by: Katrin Fischer --- Koha.pm | 2 +- .../240600045.pl} | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) rename installer/data/mysql/{atomicupdate/Bug_35906_add-column-bookable-itemtype.pl => db_revs/240600045.pl} (72%) diff --git a/Koha.pm b/Koha.pm index 439fb0be50..c5aa452713 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.06.00.044"; +$VERSION = "24.06.00.045"; sub version { return $VERSION; diff --git a/installer/data/mysql/atomicupdate/Bug_35906_add-column-bookable-itemtype.pl b/installer/data/mysql/db_revs/240600045.pl similarity index 72% rename from installer/data/mysql/atomicupdate/Bug_35906_add-column-bookable-itemtype.pl rename to installer/data/mysql/db_revs/240600045.pl index a289e189ae..ebd09a5063 100755 --- a/installer/data/mysql/atomicupdate/Bug_35906_add-column-bookable-itemtype.pl +++ b/installer/data/mysql/db_revs/240600045.pl @@ -1,4 +1,5 @@ use Modern::Perl; +use Koha::Installer::Output qw(say_warning say_failure say_success say_info); return { bug_number => "35906", @@ -13,7 +14,7 @@ return { } ); - say $out "Added column 'itemtypes.bookable'"; + say_success( $out, "Added column 'itemtypes.bookable'" ); $dbh->do( q{ @@ -21,7 +22,7 @@ return { } ); - say $out "Updated column 'items.bookable' allow nullable"; + say_success( $out, "Updated column 'items.bookable' allow nullable" ); $dbh->do( q{ @@ -29,7 +30,7 @@ return { } ); - say $out "Updated column 'deleteditems.bookable' allow nullable"; + say_success( $out, "Updated column 'deleteditems.bookable' allow nullable" ); }, }; -- 2.39.5