Bug 7794: follow-up DBRev number + removing UNIQUE index that is now useless
This commit is contained in:
parent
90928e1404
commit
261d870601
2 changed files with 3 additions and 2 deletions
|
@ -5293,9 +5293,10 @@ if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) {
|
|||
SetVersion($DBversion);
|
||||
}
|
||||
|
||||
$DBversion = "XXX";
|
||||
$DBversion = "3.09.00.008";
|
||||
if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
|
||||
$dbh->do("ALTER TABLE sessions ADD PRIMARY KEY (id);");
|
||||
$dbh->do("ALTER TABLE sessions DROP INDEX `id`;");
|
||||
print "Upgrade to $DBversion done (redefine the field id as PRIMARY KEY of sessions)\n";
|
||||
SetVersion ($DBversion);
|
||||
}
|
||||
|
|
|
@ -16,7 +16,7 @@ the kohaversion is divided in 4 parts :
|
|||
use strict;
|
||||
|
||||
sub kohaversion {
|
||||
our $VERSION = '3.09.00.007';
|
||||
our $VERSION = '3.09.00.008';
|
||||
# version needs to be set this way
|
||||
# so that it can be picked up by Makefile.PL
|
||||
# during install
|
||||
|
|
Loading…
Reference in a new issue