From 29ddf69b76c175bf4a944cc4b85dad237cb9d277 Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Sun, 17 Feb 2008 15:49:23 +0000 Subject: * 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 --- config-db/OpenSLX/DBSchema.pm | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'config-db/OpenSLX/DBSchema.pm') 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 => '<<>>', 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; -- cgit v1.2.3-55-g7522