From c48aac0ffc41ad8f2c7208df419b5f70a39213b8 Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Wed, 27 Apr 2022 11:16:21 -1000 Subject: [PATCH] Bug 29092: DBRev 21.12.00.039 Signed-off-by: Fridolin Somers --- Koha.pm | 2 +- installer/data/mysql/atomicupdate/bug_29092.pl | 14 -------------- installer/data/mysql/db_revs/211200039.pl | 14 ++++++++++++++ 3 files changed, 15 insertions(+), 15 deletions(-) delete mode 100755 installer/data/mysql/atomicupdate/bug_29092.pl create mode 100755 installer/data/mysql/db_revs/211200039.pl diff --git a/Koha.pm b/Koha.pm index 851c98bb00..9095a417ae 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.038"; +$VERSION = "21.12.00.039"; sub version { return $VERSION; diff --git a/installer/data/mysql/atomicupdate/bug_29092.pl b/installer/data/mysql/atomicupdate/bug_29092.pl deleted file mode 100755 index 797271ce6b..0000000000 --- a/installer/data/mysql/atomicupdate/bug_29092.pl +++ /dev/null @@ -1,14 +0,0 @@ -use Modern::Perl; - -return { - bug_number => "29092", - description => "Add timestamp to account-fines table column settings", - up => sub { - my ($args) = @_; - my ($dbh, $out) = @$args{qw(dbh out)}; - # Do you stuffs here - $dbh->do(q{INSERT IGNORE INTO columns_settings (module, page, tablename, columnname, cannot_be_toggled, is_hidden) VALUES ("members", "fines", "account-fines", "timestamp", 0, 0)}); - # Print useful stuff here - say $out "Update is going well so far"; - }, -}; diff --git a/installer/data/mysql/db_revs/211200039.pl b/installer/data/mysql/db_revs/211200039.pl new file mode 100755 index 0000000000..298b094b29 --- /dev/null +++ b/installer/data/mysql/db_revs/211200039.pl @@ -0,0 +1,14 @@ +use Modern::Perl; + +return { + bug_number => "29092", + description => "Add timestamp to account-fines table column settings", + up => sub { + my ($args) = @_; + my ($dbh, $out) = @$args{qw(dbh out)}; + $dbh->do(q{ + INSERT IGNORE INTO columns_settings (module, page, tablename, columnname, cannot_be_toggled, is_hidden) + VALUES ("members", "fines", "account-fines", "timestamp", 0, 0) + }); + }, +}; -- 2.39.2