aboutsummaryrefslogtreecommitdiff
path: root/ratatoeskr/setup
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2011-12-23 01:43:53 +0100
committerKevin Chabowski <kevin@kch42.de>2011-12-23 01:43:53 +0100
commitdf0658f7e10d2bf87460195f792398d16eee811e (patch)
tree1f7720ecc6c3ca5e94e84022766121f6f677c88f /ratatoeskr/setup
parent7d6a5eca4e0a38ae615634542859d29ab79c94e8 (diff)
downloadratatoeskr-cms-df0658f7e10d2bf87460195f792398d16eee811e.tar.gz
ratatoeskr-cms-df0658f7e10d2bf87460195f792398d16eee811e.tar.bz2
ratatoeskr-cms-df0658f7e10d2bf87460195f792398d16eee811e.zip
Added plugin management to bakend and fixed db models.
Diffstat (limited to 'ratatoeskr/setup')
-rw-r--r--ratatoeskr/setup/create_tables.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/ratatoeskr/setup/create_tables.php b/ratatoeskr/setup/create_tables.php
index 543a7e3..dd37d5a 100644
--- a/ratatoeskr/setup/create_tables.php
+++ b/ratatoeskr/setup/create_tables.php
@@ -61,7 +61,7 @@ CREATE TABLE `PREFIX_multilingual` (
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-CREATE TABLE `ratatoeskr_plugins` (
+CREATE TABLE `PREFIX_plugins` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` text COLLATE utf8_unicode_ci NOT NULL,
`author` text COLLATE utf8_unicode_ci NOT NULL,
@@ -70,14 +70,16 @@ CREATE TABLE `ratatoeskr_plugins` (
`short_description` text COLLATE utf8_unicode_ci NOT NULL,
`updatepath` text COLLATE utf8_unicode_ci NOT NULL,
`web` text COLLATE utf8_unicode_ci NOT NULL,
+ `license` text COLLATE utf8_unicode_ci NOT NULL,
`help` text COLLATE utf8_unicode_ci NOT NULL,
`code` text COLLATE utf8_unicode_ci NOT NULL,
`classname` text COLLATE utf8_unicode_ci NOT NULL,
`active` tinyint(4) NOT NULL,
`installed` tinyint(4) NOT NULL,
`added` bigint(20) NOT NULL,
+ `update` tinyint(4) NOT NULL,
PRIMARY KEY (`id`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
CREATE TABLE `PREFIX_plugin_kvstorage` (
`plugin` int(11) NOT NULL,