Bug 15766: DBRev 18.06.00.044
authorNick Clemens <nick@bywatersolutions.com>
Wed, 24 Oct 2018 17:19:19 +0000 (17:19 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 24 Oct 2018 17:22:40 +0000 (17:22 +0000)
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Koha.pm
installer/data/mysql/atomicupdate/bug_15766_-_add_description_column_to_batches.perl [deleted file]
installer/data/mysql/updatedatabase.pl

diff --git a/Koha.pm b/Koha.pm
index 41e60e7..36fa8dd 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 = "18.06.00.043";
+$VERSION = "18.06.00.044";
 
 sub version {
     return $VERSION;
diff --git a/installer/data/mysql/atomicupdate/bug_15766_-_add_description_column_to_batches.perl b/installer/data/mysql/atomicupdate/bug_15766_-_add_description_column_to_batches.perl
deleted file mode 100644 (file)
index 1eb2c4a..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-$DBversion = 'XXX';
-if( CheckVersion( $DBversion ) ) {
-    unless( column_exists( 'creator_batches', 'description' ) ) {
-        $dbh->do(q|ALTER TABLE creator_batches ADD description mediumtext default NULL AFTER batch_id|);
-    }
-
-    SetVersion( $DBversion );
-    print "Upgrade to $DBversion done (Bug 15766: Add column creator_batches.description)\n";
-}
index 0731c65..460324b 100755 (executable)
@@ -16691,6 +16691,15 @@ if ( CheckVersion($DBversion) ) {
     SetVersion($DBversion);
 }
 
+$DBversion = '18.06.00.044';
+if( CheckVersion( $DBversion ) ) {
+    unless( column_exists( 'creator_batches', 'description' ) ) {
+        $dbh->do(q|ALTER TABLE creator_batches ADD description mediumtext default NULL AFTER batch_id|);
+    }
+    SetVersion( $DBversion );
+    print "Upgrade to $DBversion done (Bug 15766: Add column creator_batches.description)\n";
+}
+
 # SEE bug 13068
 # if there is anything in the atomicupdate, read and execute it.