Bug 12194: DBRev 3.21.00.039

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Tomas Cohen Arazi 2015-10-22 10:24:15 -03:00
parent a0d4e84a9d
commit 452196ebbc
3 changed files with 10 additions and 11 deletions

View File

@ -29,7 +29,7 @@ use vars qw{ $VERSION };
# - #4 : the developer version. The 4th number is the database subversion.
# used by developers when the database changes. updatedatabase take care of the changes itself
# and is automatically called by Auth.pm when needed.
$VERSION = "3.21.00.038";
$VERSION = "3.21.00.039";
sub version {
return $VERSION;

View File

@ -1,10 +0,0 @@
ALTER TABLE creator_layouts ADD COLUMN oblique_title INT(1) NULL DEFAULT 1 AFTER guidebox;
-- $DBversion = "3.21.00.XXX";
-- if ( CheckVersion($DBversion) ) {
-- $dbh->do(q|
-- ALTER TABLE creator_layouts ADD COLUMN oblique_title INT(1) NULL DEFAULT 1 AFTER guidebox
-- |);
-- print "Upgrade to $DBversion done (Bug 12194: Add column oblique_title to layouts)\n";
-- SetVersion($DBversion);
-- }

View File

@ -11134,6 +11134,15 @@ if ( CheckVersion($DBversion) ) {
SetVersion($DBversion);
}
$DBversion = "3.21.00.039";
if ( CheckVersion($DBversion) ) {
$dbh->do(q|
ALTER TABLE creator_layouts ADD COLUMN oblique_title INT(1) NULL DEFAULT 1 AFTER guidebox
|);
print "Upgrade to $DBversion done (Bug 12194: Add column oblique_title to layouts)\n";
SetVersion($DBversion);
}
# DEVELOPER PROCESS, search for anything to execute in the db_update directory
# SEE bug 13068
# if there is anything in the atomicupdate, read and execute it.