Bug 5349: DBrev 3.13.00.018
authorGalen Charlton <gmc@esilibrary.com>
Sun, 8 Sep 2013 22:46:33 +0000 (22:46 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 16 Sep 2013 15:21:02 +0000 (15:21 +0000)
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
installer/data/mysql/updatedatabase.pl
kohaversion.pl

index 9aa8998..d8b5818 100755 (executable)
@@ -7104,8 +7104,8 @@ if ( CheckVersion($DBversion) ) {
     SetVersion($DBversion);
 }
 
-$DBversion = "XXX";
-if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) {
+$DBversion = "3.13.00.018";
+if ( CheckVersion($DBversion) ) {
     $dbh->do(qq{DROP TABLE IF EXISTS aqorders_transfers;});
     $dbh->do(qq{
         CREATE TABLE aqorders_transfers (
@@ -7118,7 +7118,7 @@ if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) {
           CONSTRAINT aqorders_transfers_ordernumber_to FOREIGN KEY (ordernumber_to) REFERENCES aqorders (ordernumber) ON DELETE SET NULL ON UPDATE CASCADE
         ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
     });
-    print "Upgrade to $DBversion done (Add aqorders_transfers table)\n";
+    print "Upgrade to $DBversion done (Bug 5349: Add aqorders_transfers table)\n";
     SetVersion($DBversion);
 }
 
index 3dac341..ec1c56a 100644 (file)
@@ -16,7 +16,7 @@ the kohaversion is divided in 4 parts :
 use strict;
 
 sub kohaversion {
-    our $VERSION = '3.13.00.017';
+    our $VERSION = '3.13.00.018';
     # version needs to be set this way
     # so that it can be picked up by Makefile.PL
     # during install