From 7c6c3e8f9c9d105e253977546506cde8f3444c07 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 --- 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 a1d89fddb3a..75f514b0a91 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.001"; +$VERSION = "24.12.00.002"; 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 934c0c6713a..a395ab46762 100755 --- a/installer/data/mysql/atomicupdate/bug_37292.pl +++ b/installer/data/mysql/db_revs/241200002.pl @@ -3,7 +3,7 @@ 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 @@ 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'" ); } }, };