From dd1afa99b17596d4150d4b9b2741189f42d655d1 Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Tue, 30 Nov 2010 05:09:10 -0500 Subject: [PATCH] Fixed syntax error in apache plugin. --- install/sql/ispconfig3.sql | 43 ++++++++++++++++++++++++++++++++++++++----- 1 files changed, 38 insertions(+), 5 deletions(-) diff --git a/install/sql/ispconfig3.sql b/install/sql/ispconfig3.sql index 2825b1b..b3baa26 100644 --- a/install/sql/ispconfig3.sql +++ b/install/sql/ispconfig3.sql @@ -1102,7 +1102,6 @@ `parent_domain_id` int(11) unsigned NOT NULL default '0', `vhost_type` varchar(32) default NULL, `document_root` varchar(255) default NULL, - `document_root_www` varchar(255) default NULL, `system_user` varchar(255) default NULL, `system_group` varchar(255) default NULL, `hd_quota` bigint(20) NOT NULL default '0', @@ -1131,9 +1130,9 @@ `stats_password` varchar(255) default NULL, `stats_type` varchar(255) default 'webalizer', `allow_override` varchar(255) NOT NULL default 'All', - `apache_directives` text, - `php_open_basedir` text, - `custom_php_ini` text, + `apache_directives` mediumtext, + `php_open_basedir` mediumtext, + `custom_php_ini` mediumtext, `backup_interval` VARCHAR( 255 ) NOT NULL DEFAULT 'none', `backup_copies` INT NOT NULL DEFAULT '1', `active` enum('n','y') NOT NULL default 'y', @@ -1354,7 +1353,7 @@ -- Dumping data for table `sys_config` -- -INSERT INTO sys_config VALUES ('1','db','db_version','3.0.3'); +INSERT INTO sys_config VALUES ('1','db','db_version','3.0.3.1'); -- -------------------------------------------------------- @@ -1617,6 +1616,40 @@ ('ZW', 'ZIMBABWE', 'Zimbabwe', 'ZWE', 716); -- -------------------------------------------------------- +-- tables for the FAQ module + +CREATE TABLE `help_faq_sections` ( + `hfs_id` int(11) NOT NULL AUTO_INCREMENT, + `hfs_name` varchar(255) DEFAULT NULL, + `hfs_order` int(11) DEFAULT '0', + `sys_userid` int(11) DEFAULT NULL, + `sys_groupid` int(11) DEFAULT NULL, + `sys_perm_user` varchar(5) DEFAULT NULL, + `sys_perm_group` varchar(5) DEFAULT NULL, + `sys_perm_other` varchar(5) DEFAULT NULL, + PRIMARY KEY (`hfs_id`) +) ENGINE=MyISAM AUTO_INCREMENT=1; + +INSERT INTO `help_faq_sections` VALUES (1,'General',0,NULL,NULL,NULL,NULL,NULL); + +CREATE TABLE `help_faq` ( + `hf_id` int(11) NOT NULL AUTO_INCREMENT, + `hf_section` int(11) DEFAULT NULL, + `hf_order` int(11) DEFAULT '0', + `hf_question` text, + `hf_answer` text, + `sys_userid` int(11) DEFAULT NULL, + `sys_groupid` int(11) DEFAULT NULL, + `sys_perm_user` varchar(5) DEFAULT NULL, + `sys_perm_group` varchar(5) DEFAULT NULL, + `sys_perm_other` varchar(5) DEFAULT NULL, + PRIMARY KEY (`hf_id`) +) ENGINE=MyISAM AUTO_INCREMENT=1; + +INSERT INTO `help_faq` VALUES (1,1,0,'I\'d like to know ...','Yes, of course.',1,1,'riud','riud','r'); + +ALTER TABLE client ADD COLUMN company_id varchar(30); + -- -------------------------------------------------------- SET FOREIGN_KEY_CHECKS = 1; -- Gitblit v1.9.1