From e45aef832a8d2685028b140d8e768a551745e352 Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Fri, 6 May 2022 09:36:48 -1000 Subject: [PATCH] Bug 29924: DBRev 21.12.00.050 Signed-off-by: Fridolin Somers --- Koha.pm | 2 +- .../{atomicupdate/password_expire.pl => db_revs/211200050.pl} | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) rename installer/data/mysql/{atomicupdate/password_expire.pl => db_revs/211200050.pl} (93%) diff --git a/Koha.pm b/Koha.pm index 523f2ac409..b17985f9ab 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 = "21.12.00.049"; +$VERSION = "21.12.00.050"; sub version { return $VERSION; diff --git a/installer/data/mysql/atomicupdate/password_expire.pl b/installer/data/mysql/db_revs/211200050.pl similarity index 93% rename from installer/data/mysql/atomicupdate/password_expire.pl rename to installer/data/mysql/db_revs/211200050.pl index 049e8ba65a..840f4f9835 100755 --- a/installer/data/mysql/atomicupdate/password_expire.pl +++ b/installer/data/mysql/db_revs/211200050.pl @@ -16,14 +16,12 @@ return { $dbh->do(q{ ALTER TABLE borrowers ADD password_expiration_date DATE NULL DEFAULT NULL AFTER dateexpiry }); - # Print useful stuff here say $out "Added password_expiration_date field to borrowers"; } unless( column_exists('deletedborrowers', 'password_expiration_date') ){ $dbh->do(q{ ALTER TABLE deletedborrowers ADD password_expiration_date DATE NULL DEFAULT NULL AFTER dateexpiry }); - # Print useful stuff here say $out "Added password_expiration_date field to borrowers"; } }, -- 2.20.1