Bug 10269: DBRev 19.12.00.042
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 18 Mar 2020 15:43:38 +0000 (15:43 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 18 Mar 2020 15:44:26 +0000 (15:44 +0000)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Koha.pm
installer/data/mysql/atomicupdate/bug_10269.perl [deleted file]
installer/data/mysql/updatedatabase.pl

diff --git a/Koha.pm b/Koha.pm
index 9b62ff4..ad01568 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 = "19.12.00.041";
+$VERSION = "19.12.00.042";
 
 sub version {
     return $VERSION;
diff --git a/installer/data/mysql/atomicupdate/bug_10269.perl b/installer/data/mysql/atomicupdate/bug_10269.perl
deleted file mode 100644 (file)
index 0d52232..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-$DBversion = 'XXX'; # will be replaced by the RM
-if( CheckVersion( $DBversion ) ) {
-    if (!column_exists('message_queue', 'reply_address')) {
-        $dbh->do('ALTER TABLE message_queue ADD COLUMN reply_address LONGTEXT AFTER from_address');
-    }
-
-    SetVersion( $DBversion );
-    print "Upgrade to $DBversion done (Bug 22821 - Add reply_address to message_queue)\n";
-}
index babbd96..62b447c 100755 (executable)
@@ -21124,6 +21124,16 @@ if( CheckVersion( $DBversion ) ) {
     print "Upgrade to $DBversion done (Bug 24722 - Enforce NOT NULL constraint for reserves.priority)\n";
 }
 
+$DBversion = '19.12.00.042';
+if( CheckVersion( $DBversion ) ) {
+    if (!column_exists('message_queue', 'reply_address')) {
+        $dbh->do('ALTER TABLE message_queue ADD COLUMN reply_address LONGTEXT AFTER from_address');
+    }
+
+    SetVersion( $DBversion );
+    print "Upgrade to $DBversion done (Bug 22821 - Add reply_address to message_queue)\n";
+}
+
 # SEE bug 13068
 # if there is anything in the atomicupdate, read and execute it.
 my $update_dir = C4::Context->config('intranetdir') . '/installer/data/mysql/atomicupdate/';