]> git.pld-linux.org Git - packages/cacti.git/blame - cacti-pa.sql
- Add patch from date 2010/07/27 more info http://www.cacti.net/download_patches.php
[packages/cacti.git] / cacti-pa.sql
CommitLineData
b500fa3c
GS
1--
2-- Table structure for table `plugin_config`
3--
4
5CREATE 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 '',
13 PRIMARY KEY (`id`),
14 KEY `status` (`status`),
15 KEY `directory` (`directory`)
6482751c 16) TYPE=InnoDB;
b500fa3c
GS
17
18-- --------------------------------------------------------
19
20--
21-- Table structure for table `plugin_hooks`
22--
23
24CREATE 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',
31 PRIMARY KEY (`id`),
32 KEY `hook` (`hook`),
33 KEY `status` (`status`)
6482751c 34) TYPE=InnoDB;
b500fa3c
GS
35
36-- --------------------------------------------------------
37
38--
39-- Table structure for table `plugin_realms`
40--
41
42CREATE TABLE `plugin_realms` (
43 `id` int(8) NOT NULL auto_increment,
44 `plugin` varchar(32) NOT NULL default '',
45 `file` text NOT NULL,
46 `display` varchar(64) NOT NULL default '',
47 PRIMARY KEY (`id`),
48 KEY `plugin` (`plugin`)
6482751c 49) TYPE=InnoDB;
b500fa3c
GS
50
51
52CREATE 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 '',
58 PRIMARY KEY (`id`),
59 KEY `plugin` (`plugin`),
60 KEY `method` (`method`)
6482751c 61) TYPE=InnoDB;
b500fa3c
GS
62
63
64REPLACE INTO `plugin_realms` VALUES (1, 'internal', 'plugins.php', 'Plugin Management');
65INSERT INTO `plugin_hooks` VALUES (1, 'internal', 'config_arrays', '', 'plugin_config_arrays', 1);
66INSERT INTO `plugin_hooks` VALUES (2, 'internal', 'draw_navigation_text', '', 'plugin_draw_navigation_text', 1);
This page took 0.057937 seconds and 4 git commands to generate.