Bug 31948: DBRev 22.06.00.075
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 28 Oct 2022 19:36:21 +0000 (16:36 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 28 Oct 2022 19:41:27 +0000 (16:41 -0300)
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha.pm
installer/data/mysql/atomicupdate/bug_31948_tmp_holdsqueue.pl [deleted file]
installer/data/mysql/db_revs/220600075.pl [new file with mode: 0755]

diff --git a/Koha.pm b/Koha.pm
index b2a2ef0..66d9203 100644 (file)
--- 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 = "22.06.00.074";
+$VERSION = "22.06.00.075";
 
 sub version {
     return $VERSION;
diff --git a/installer/data/mysql/atomicupdate/bug_31948_tmp_holdsqueue.pl b/installer/data/mysql/atomicupdate/bug_31948_tmp_holdsqueue.pl
deleted file mode 100755 (executable)
index c5fbd8d..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-use Modern::Perl;
-
-return {
-    bug_number => "31948",
-    description => "Add timestamp to tmp_holdsqueue table",
-    up => sub {
-        my ($args) = @_;
-        my ($dbh, $out) = @$args{qw(dbh out)};
-
-        $dbh->do(q{ALTER TABLE `tmp_holdsqueue` ADD `timestamp` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP AFTER item_level_request});
-        say $out "";
-    },
-};
diff --git a/installer/data/mysql/db_revs/220600075.pl b/installer/data/mysql/db_revs/220600075.pl
new file mode 100755 (executable)
index 0000000..c5fbd8d
--- /dev/null
@@ -0,0 +1,13 @@
+use Modern::Perl;
+
+return {
+    bug_number => "31948",
+    description => "Add timestamp to tmp_holdsqueue table",
+    up => sub {
+        my ($args) = @_;
+        my ($dbh, $out) = @$args{qw(dbh out)};
+
+        $dbh->do(q{ALTER TABLE `tmp_holdsqueue` ADD `timestamp` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP AFTER item_level_request});
+        say $out "";
+    },
+};