Commit a5b1a01b authored by tbrehm's avatar tbrehm
Browse files

Changed encoding of incremental sql files to "UTF8 ohne BOM" as some older...

Changed encoding of incremental sql files to "UTF8 ohne BOM" as some older mysql versions cant load them otherwise with errors like:

ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ALTER TABLE `web_domain` ADD `pm` ENUM( 'static', 'dynamic', 'ondemand' ) NOT' at line 1
Loading SQL patch file: /tmp/trunk/install/sql/incremental/upd_0032.sql
parent 40b9bd13
ALTER TABLE `web_domain` ADD `pm` ENUM( 'static', 'dynamic', 'ondemand' ) NOT NULL DEFAULT 'dynamic' AFTER `php_fpm_use_socket`;
ALTER TABLE `web_domain` ADD `pm` ENUM( 'static', 'dynamic', 'ondemand' ) NOT NULL DEFAULT 'dynamic' AFTER `php_fpm_use_socket`;
ALTER TABLE `web_domain` ADD `pm_process_idle_timeout` INT NOT NULL DEFAULT '10' AFTER `pm_max_spare_servers` , ADD `pm_max_requests` INT NOT NULL DEFAULT '0' AFTER `pm_process_idle_timeout`;
\ No newline at end of file
CREATE TABLE IF NOT EXISTS `client_circle` (
CREATE TABLE IF NOT EXISTS `client_circle` (
`circle_id` int(11) NOT NULL AUTO_INCREMENT,
`sys_userid` int(11) NOT NULL DEFAULT '0',
`sys_groupid` int(11) NOT NULL DEFAULT '0',
......
-- --------------------------------------------------------
-- --------------------------------------------------------
--
-- Table structure for table `aps_instances`
......
-- --------------------------------------------------------
-- --------------------------------------------------------
--
-- Table structure for table `sys_theme`
......
-- --------------------------------------------------------
-- --------------------------------------------------------
ALTER TABLE `web_domain` ADD `perl` enum('n','y') NOT NULL default 'n' AFTER `python`;
-- --------------------------------------------------------
-- --------------------------------------------------------
ALTER TABLE `client` ADD `limit_cgi` ENUM( 'n', 'y' ) NOT NULL DEFAULT 'n' AFTER `web_php_options`,
ADD `limit_ssi` ENUM( 'n', 'y' ) NOT NULL DEFAULT 'n' AFTER `limit_cgi`,
......
-- --------------------------------------------------------
-- --------------------------------------------------------
ALTER TABLE `web_domain` ADD `web_folder` VARCHAR( 100 ) DEFAULT NULL AFTER `document_root` ;
......
-- --------------------------------------------------------
-- --------------------------------------------------------
--
-- Tabellenstruktur für Tabelle `web_database_user`
......

-- Removal of the domain module
UPDATE sys_user SET startmodule = 'dashboard' WHERE startmodule = 'domain';
UPDATE sys_user SET modules = replace(modules, ',domain', '') WHERE modules like '%domain%';
......

-- Add bank account owner
ALTER TABLE `client` ADD `bank_account_owner` varchar(255) DEFAULT NULL AFTER `notes`;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment