diff options
author | Oliver Tappe | 2008-02-17 16:49:23 +0100 |
---|---|---|
committer | Oliver Tappe | 2008-02-17 16:49:23 +0100 |
commit | 29ddf69b76c175bf4a944cc4b85dad237cb9d277 (patch) | |
tree | cb9de3f55b24e0fc975e76f467858f705a210c3a /config-db/OpenSLX/DBSchema.pm | |
parent | * added vendor-OS '<<<default>>>', which holds the plugins which shall be (diff) | |
download | core-29ddf69b76c175bf4a944cc4b85dad237cb9d277.tar.gz core-29ddf69b76c175bf4a944cc4b85dad237cb9d277.tar.xz core-29ddf69b76c175bf4a944cc4b85dad237cb9d277.zip |
* correct implementation bug that caused last schema change to work only half-way:
now we can install the default plugins into the default vendor-OS - leading
to db schema version 0.28
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1557 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'config-db/OpenSLX/DBSchema.pm')
-rw-r--r-- | config-db/OpenSLX/DBSchema.pm | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/config-db/OpenSLX/DBSchema.pm b/config-db/OpenSLX/DBSchema.pm index 5d7ca786..63774dfb 100644 --- a/config-db/OpenSLX/DBSchema.pm +++ b/config-db/OpenSLX/DBSchema.pm @@ -35,7 +35,7 @@ use OpenSLX::Basics; ### fk => foreign key (integer) ################################################################################ -my $VERSION = 0.27; +my $VERSION = 0.28; my $DbSchema = { 'version' => $VERSION, @@ -682,6 +682,15 @@ sub _schemaUpgradeDBFrom name => '<<<default>>>', comment => 'holds default plugins for all vendor-OS', }]); + + return 1; + }, + 0.28 => sub { + my $metaDB = shift; + + # correct effects of implementation error last time around that caused + # the default vendor-OS to not have any plugins at all - so we add + # the default plugins here: $metaDB->addInstalledPlugin(0, 'theme'); return 1; |