From 0df147125da4347ee87cb00c9da3151cce6205f0 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Tue, 3 Dec 2024 16:20:46 +0000 Subject: [PATCH] Bug 37292: DBRev 24.12.00.002 Signed-off-by: Katrin Fischer (cherry picked from commit 7c6c3e8f9c9d105e253977546506cde8f3444c07) Signed-off-by: Paul Derscheid --- Koha.pm | 2 +- .../mysql/{atomicupdate/bug_37292.pl => db_revs/241200002.pl} | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename installer/data/mysql/{atomicupdate/bug_37292.pl => db_revs/241200002.pl} (75%) diff --git a/Koha.pm b/Koha.pm index 6ce1de3cf8..256e10bdaf 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.11.00.000"; +$VERSION = "24.11.00.001"; sub version { return $VERSION; diff --git a/installer/data/mysql/atomicupdate/bug_37292.pl b/installer/data/mysql/db_revs/241200002.pl similarity index 75% rename from installer/data/mysql/atomicupdate/bug_37292.pl rename to installer/data/mysql/db_revs/241200002.pl index 934c0c6713..a395ab4676 100755 --- a/installer/data/mysql/atomicupdate/bug_37292.pl +++ b/installer/data/mysql/db_revs/241200002.pl @@ -3,7 +3,7 @@ use Koha::Installer::Output qw(say_warning say_success say_info); return { bug_number => "37292", - description => "'oauth_access_tokens.expires' needs an index", + description => "Add index on 'oauth_access_tokens.expires'", up => sub { my ($args) = @_; my ( $dbh, $out ) = @$args{qw(dbh out)}; @@ -14,7 +14,7 @@ return { ALTER TABLE `oauth_access_tokens` ADD INDEX `expires` (`expires`) } ); - say_success( $out, "Added new index on 'oauth_access_tokens.expires'" ); + say_success( $out, "Added index on 'oauth_access_tokens.expires'" ); } }, };