2 -- Table structure for table `plugin_config`
5 CREATE TABLE `plugin_config` (
6 `id` int(8) NOT NULL auto_increment,
7 `directory` varchar(32) NOT NULL default '',
8 `name` varchar(64) NOT NULL default '',
9 `status` tinyint(2) NOT NULL default '0',
10 `author` varchar(64) NOT NULL default '',
11 `webpage` varchar(255) NOT NULL default '',
12 `version` varchar(8) NOT NULL default '',
14 KEY `status` (`status`),
15 KEY `directory` (`directory`)
18 -- --------------------------------------------------------
21 -- Table structure for table `plugin_hooks`
24 CREATE TABLE `plugin_hooks` (
25 `id` int(8) NOT NULL auto_increment,
26 `name` varchar(32) NOT NULL default '',
27 `hook` varchar(64) NOT NULL default '',
28 `file` varchar(255) NOT NULL default '',
29 `function` varchar(128) NOT NULL default '',
30 `status` int(8) NOT NULL default '0',
33 KEY `status` (`status`)
36 -- --------------------------------------------------------
39 -- Table structure for table `plugin_realms`
42 CREATE TABLE `plugin_realms` (
43 `id` int(8) NOT NULL auto_increment,
44 `plugin` varchar(32) NOT NULL default '',
46 `display` varchar(64) NOT NULL default '',
48 KEY `plugin` (`plugin`)
52 CREATE TABLE `plugin_db_changes` (
53 `id` int(10) NOT NULL auto_increment,
54 `plugin` varchar(16) NOT NULL default '',
55 `table` varchar(64) NOT NULL default '',
56 `column` varchar(64) NOT NULL,
57 `method` varchar(16) NOT NULL default '',
59 KEY `plugin` (`plugin`),
60 KEY `method` (`method`)
64 REPLACE INTO `plugin_realms` VALUES (1, 'internal', 'plugins.php', 'Plugin Management');
65 INSERT INTO `plugin_hooks` VALUES (1, 'internal', 'config_arrays', '', 'plugin_config_arrays', 1);
66 INSERT INTO `plugin_hooks` VALUES (2, 'internal', 'draw_navigation_text', '', 'plugin_draw_navigation_text', 1);