]> git.pld-linux.org Git - packages/cacti.git/blob - 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
1 -- 
2 -- Table structure for table `plugin_config`
3 -- 
4
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 '',
13   PRIMARY KEY  (`id`),
14   KEY `status` (`status`),
15   KEY `directory` (`directory`)
16 ) TYPE=InnoDB;
17
18 -- --------------------------------------------------------
19
20 -- 
21 -- Table structure for table `plugin_hooks`
22 -- 
23
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',
31   PRIMARY KEY  (`id`),
32   KEY `hook` (`hook`),
33   KEY `status` (`status`)
34 ) TYPE=InnoDB;
35
36 -- --------------------------------------------------------
37
38 -- 
39 -- Table structure for table `plugin_realms`
40 -- 
41
42 CREATE 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`)
49 ) TYPE=InnoDB;
50
51
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 '',
58   PRIMARY KEY  (`id`),
59   KEY `plugin` (`plugin`),
60   KEY `method` (`method`)
61 ) TYPE=InnoDB;
62
63
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);
This page took 0.035785 seconds and 3 git commands to generate.