Bumping database version

This commit is contained in:
Chris Cormack 2011-03-07 15:13:53 +13:00
parent 90f4de97de
commit 22a438aeb4
2 changed files with 3 additions and 3 deletions

View File

@ -4036,7 +4036,7 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
SetVersion($DBversion);
};
$DBversion = "3.03.00.021";
$DBversion = '3.03.00.021';
if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
$dbh->do("ALTER TABLE items MODIFY enumchron TEXT");
$dbh->do("ALTER TABLE deleteditems MODIFY enumchron TEXT");
@ -4044,7 +4044,7 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
SetVersion ($DBversion);
}
$DBversion = 'XXX';
$DBversion = '3.03.00.022';
if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
$dbh->do("INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('AuthoritiesLog','0','If ON, log edit/create/delete actions on authorities.','','YesNo');");
print "Upgrade to $DBversion done (Add AuthoritiesLog syspref)\n";

View File

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