Bug 5349: DBrev 3.13.00.018

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
Galen Charlton 2013-09-08 22:46:33 +00:00
parent e4c1fd2ca9
commit 5480a3ca2b
2 changed files with 4 additions and 4 deletions

View file

@ -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);
}

View 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