From a1e19f26c13b98c0c602a4ee9e7e94bd7e9366a0 Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Tue, 8 Jan 2008 11:16:27 +0000 Subject: * 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 --- config-db/OpenSLX/DBSchema.pm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'config-db') 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 ... -- cgit v1.2.3-55-g7522