summaryrefslogtreecommitdiffstats
path: root/config-db
diff options
context:
space:
mode:
authorOliver Tappe2008-01-08 12:16:27 +0100
committerOliver Tappe2008-01-08 12:16:27 +0100
commita1e19f26c13b98c0c602a4ee9e7e94bd7e9366a0 (patch)
tree59f526fdfcf9ff583ba65b9ccce6e434da20c3ad /config-db
parent* added new DB-table 'installed_plugin', moving schema version to 0.21 (diff)
downloadcore-a1e19f26c13b98c0c602a4ee9e7e94bd7e9366a0.tar.gz
core-a1e19f26c13b98c0c602a4ee9e7e94bd7e9366a0.tar.xz
core-a1e19f26c13b98c0c602a4ee9e7e94bd7e9366a0.zip
* added missing invocation of _upgradeDBTo0_21(), such that now
the auto upgrade to schema version 0.21 will actually work git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1448 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'config-db')
-rw-r--r--config-db/OpenSLX/DBSchema.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/config-db/OpenSLX/DBSchema.pm b/config-db/OpenSLX/DBSchema.pm
index dc55b1b7..80030e10 100644
--- a/config-db/OpenSLX/DBSchema.pm
+++ b/config-db/OpenSLX/DBSchema.pm
@@ -426,6 +426,7 @@ sub _schemaUpgradeDBFrom
my $currVersion = shift;
$self->_upgradeDBTo0_2($metaDB) if $currVersion < 0.2;
+ $self->_upgradeDBTo0_21($metaDB) if $currVersion < 0.21;
return 1;
}
@@ -435,6 +436,8 @@ sub _upgradeDBTo0_2
my $self = shift;
my $metaDB = shift;
+ vlog(1, "upgrading schema version to 0.2 ...");
+
# move attributes into separate tables ...
#
# ... system attributes ...
@@ -648,6 +651,8 @@ sub _upgradeDBTo0_21
my $self = shift;
my $metaDB = shift;
+ vlog(1, "upgrading schema version to 0.21 ...");
+
# move attributes into separate tables ...
#
# ... system attributes ...