You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: install/sql/incremental/upd_dev_collection.sql
+24-1Lines changed: 24 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -45,5 +45,28 @@ ALTER TABLE `web_domain` DROP COLUMN `enable_spdy`;
45
45
-- was missing in incremental, inserted for fixing older installations
46
46
ALTERTABLE`web_domain` ADD `folder_directive_snippets`TEXTNULL AFTER `https_port`;
47
47
48
+
ALTERTABLE`web_domain` ADD `server_php_id`INT(11) UNSIGNED NOT NULL DEFAULT 0;
49
+
50
+
UPDATE`web_domain`as w LEFT JOIN sys_group as g ON (g.groupid=w.sys_groupid) INNER JOIN`server_php`as p ON (w.fastcgi_php_version= CONCAT(p.name, ':', p.php_fastcgi_binary, ':', p.php_fastcgi_ini_dir) ANDp.server_idIN (0, w.server_id) ANDp.client_idIN (0, g.client_id)) SETw.server_php_id=p.server_php_id, w.fastcgi_php_version=''WHERE1;
51
+
52
+
UPDATE`web_domain`as w LEFT JOIN sys_group as g ON (g.groupid=w.sys_groupid) INNER JOIN`server_php`as p ON (w.fastcgi_php_version= CONCAT(p.name, ':', p.php_fpm_init_script, ':', p.php_fpm_ini_dir, ':', p.php_fpm_pool_dir) ANDp.server_idIN (0, w.server_id) ANDp.client_idIN (0, g.client_id)) SETw.server_php_id=p.server_php_id, w.fastcgi_php_version=''WHERE1;
53
+
54
+
-- we have to decide whether to delete the column or leave it there for investigating not-converted entries
55
+
-- ALTER TABLE `web_domain` DROP COLUMN `fastcgi_php_version`;
-- add move to junk before/after option, default to after
61
+
ALTERTABLE`mail_user` MODIFY `move_junk` enum('y','a','n') NOT NULL DEFAULT 'y';
62
+
63
+
-- Change id_rsa column to TEXT format
64
+
ALTERTABLE`client` CHANGE `id_rsa``id_rsa`TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '';
65
+
66
+
ALTERTABLE`directive_snippets` ADD `update_sites` ENUM('y','n') NOT NULL DEFAULT 'n' ;
67
+
68
+
-- Add DNSSEC Algorithm setting
69
+
ALTERTABLE`dns_soa` ADD `dnssec_algo`SET('NSEC3RSASHA1','ECDSAP256SHA256') NULL DEFAULT NULL AFTER `dnssec_wanted`;
70
+
UPDATE`dns_soa`SET`dnssec_algo`='NSEC3RSASHA1'WHERE`dnssec_algo` IS NULLAND dnssec_initialized ='Y';
71
+
UPDATE`dns_soa`SET`dnssec_algo`='ECDSAP256SHA256'WHERE`dnssec_algo` IS NULLAND dnssec_initialized ='N';
72
+
ALTERTABLE`dns_soa` CHANGE `dnssec_algo``dnssec_algo`SET('NSEC3RSASHA1','ECDSAP256SHA256') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'ECDSAP256SHA256';
0 commit comments