From f3d9f1c63b1ff153ee2f41ae18d0e7684a7cf632 Mon Sep 17 00:00:00 2001 From: Till Brehm Date: Wed, 23 May 2018 20:23:27 +0200 Subject: [PATCH] Moved SQL queries to upd_0086.sql --- install/sql/incremental/upd_0086.sql | 5 +++++ install/sql/incremental/upd_dev_collection.sql | 6 +----- 2 files changed, 6 insertions(+), 5 deletions(-) create mode 100644 install/sql/incremental/upd_0086.sql diff --git a/install/sql/incremental/upd_0086.sql b/install/sql/incremental/upd_0086.sql new file mode 100644 index 000000000..563b2153c --- /dev/null +++ b/install/sql/incremental/upd_0086.sql @@ -0,0 +1,5 @@ +ALTER TABLE `web_domain` ADD COLUMN `ssl_letsencrypt_exclude` enum('n','y') NOT NULL DEFAULT 'n' AFTER `ssl_letsencrypt`; +ALTER TABLE `remote_user` ADD `remote_access` ENUM('y','n') NOT NULL DEFAULT 'y' AFTER `remote_password`; +ALTER TABLE `remote_user` ADD `remote_ips` TEXT AFTER `remote_access`; +ALTER TABLE `server_php` ADD `active` enum('y','n') NOT NULL DEFAULT 'y' AFTER `php_fpm_pool_dir`; +ALTER TABLE `web_domain` CHANGE `log_retention` `log_retention` INT(11) NOT NULL DEFAULT '10'; \ No newline at end of file diff --git a/install/sql/incremental/upd_dev_collection.sql b/install/sql/incremental/upd_dev_collection.sql index fc1d0c38d..8b1378917 100644 --- a/install/sql/incremental/upd_dev_collection.sql +++ b/install/sql/incremental/upd_dev_collection.sql @@ -1,5 +1 @@ -ALTER TABLE `web_domain` ADD COLUMN `ssl_letsencrypt_exclude` enum('n','y') NOT NULL DEFAULT 'n' AFTER `ssl_letsencrypt`; -ALTER TABLE `remote_user` ADD `remote_access` ENUM('y','n') NOT NULL DEFAULT 'y' AFTER `remote_password`; -ALTER TABLE `remote_user` ADD `remote_ips` TEXT AFTER `remote_access`; -ALTER TABLE `server_php` ADD `active` enum('y','n') NOT NULL DEFAULT 'y' AFTER `php_fpm_pool_dir`; -ALTER TABLE `web_domain` CHANGE `log_retention` `log_retention` INT(11) NOT NULL DEFAULT '10'; + -- GitLab