Bug 5335 follow-up DBRev number

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
This commit is contained in:
Paul Poulain 2012-09-21 10:36:56 +02:00
parent d7faf087a3
commit d0c6c2d068
2 changed files with 3 additions and 3 deletions

View file

@ -5952,14 +5952,14 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
}
$DBversion = "3.09.00.XXX";
$DBversion = "3.09.00.054";
if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) {
$dbh->do("ALTER TABLE aqorders CHANGE COLUMN gst gstrate DECIMAL(6,4) DEFAULT NULL");
print "Upgrade to $DBversion done (Change column name in aqorders gst --> gstrate)\n";
SetVersion($DBversion);
}
$DBversion = "3.09.00.XXX";
$DBversion = "3.09.00.055";
if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) {
$dbh->do("ALTER TABLE aqorders ADD discount float(6,4) DEFAULT NULL AFTER gstrate");
print "Upgrade to $DBversion done (Add discount field in aqorders table)\n";

View file

@ -16,7 +16,7 @@ the kohaversion is divided in 4 parts :
use strict;
sub kohaversion {
our $VERSION = '3.09.00.053';
our $VERSION = '3.09.00.055';
# version needs to be set this way
# so that it can be picked up by Makefile.PL
# during install