commit | author | age
|
891c02
|
1 |
ALTER TABLE `web_database` ADD `last_quota_notification` date NULL default NULL AFTER `database_quota`; |
MC |
2 |
|
|
3 |
ALTER TABLE `ftp_user` CHANGE `username_prefix` `username_prefix` varchar(50) NOT NULL DEFAULT ''; |
|
4 |
|
|
5 |
ALTER TABLE `mail_domain` CHANGE `dkim` `dkim` enum('n','y') NOT NULL DEFAULT 'n'; |
|
6 |
ALTER TABLE `mail_forwarding` CHANGE `destination` `destination` text; |
|
7 |
ALTER TABLE `mail_user` |
|
8 |
CHANGE `uid` `uid` int(11) unsigned NOT NULL DEFAULT '5000', |
|
9 |
CHANGE `gid` `gid` int(11) unsigned NOT NULL DEFAULT '5000'; |
|
10 |
|
|
11 |
ALTER TABLE `server` |
|
12 |
CHANGE `proxy_server` `proxy_server` tinyint(1) NOT NULL DEFAULT '0', |
|
13 |
CHANGE `firewall_server` `firewall_server` tinyint(1) NOT NULL DEFAULT '0', |
|
14 |
CHANGE `dbversion` `dbversion` int(11) unsigned NOT NULL DEFAULT '1'; |
|
15 |
|
|
16 |
ALTER TABLE `server_ip` |
|
17 |
CHANGE `virtualhost_port` `virtualhost_port` varchar(255) DEFAULT '80,443'; |
|
18 |
|
|
19 |
ALTER TABLE `shell_user` |
|
20 |
CHANGE `username_prefix` `username_prefix` varchar(50) NOT NULL DEFAULT ''; |
|
21 |
|
|
22 |
ALTER TABLE `client` ADD `limit_dns_slave_zone` int(11) NOT NULL DEFAULT '-1' AFTER `default_slave_dnsserver`; |
|
23 |
ALTER TABLE `client_template` ADD `limit_dns_slave_zone` int(11) NOT NULL DEFAULT '-1' AFTER `limit_dns_zone`; |
|
24 |
|
|
25 |
ALTER TABLE `client` |
|
26 |
CHANGE `id_rsa` `id_rsa` varchar(2000) NOT NULL DEFAULT '', |
|
27 |
CHANGE `ssh_rsa` `ssh_rsa` varchar(600) NOT NULL DEFAULT ''; |
|
28 |
|
|
29 |
ALTER TABLE `software_package` CHANGE `software_repo_id` `software_repo_id` int(11) unsigned NOT NULL DEFAULT '0'; |
|
30 |
ALTER TABLE `software_package` ADD `package_installable` enum('yes','no','key') NOT NULL default 'yes' AFTER `package_type`; |
|
31 |
ALTER TABLE `software_package` ADD `package_requires_db` enum('no','mysql') NOT NULL default 'no' AFTER `package_installable`; |
|
32 |
ALTER TABLE `software_package` ADD `package_remote_functions` TEXT NULL AFTER `package_requires_db`; |
|
33 |
ALTER TABLE `software_package` ADD `package_key` varchar(255) NOT NULL DEFAULT '' AFTER `package_remote_functions`; |
|
34 |
ALTER TABLE `software_package` ADD `package_config` text AFTER `package_key`; |
|
35 |
|
|
36 |
ALTER TABLE `software_package` |
|
37 |
CHANGE `package_name` `package_name` varchar(64) NOT NULL DEFAULT '', |
|
38 |
CHANGE `package_title` `package_title` varchar(64) NOT NULL DEFAULT '', |
|
39 |
CHANGE `package_key` `package_key` varchar(255) NOT NULL DEFAULT ''; |
|
40 |
|
|
41 |
INSERT IGNORE INTO `sys_config` (`group`, `name`, `value`) VALUES ('interface', 'session_timeout', '0'); |
|
42 |
|
|
43 |
ALTER TABLE `sys_datalog` CHANGE `status` `status` set('pending','ok','warning','error') NOT NULL DEFAULT 'ok'; |
|
44 |
|
|
45 |
ALTER TABLE `sys_session` CHANGE `session_id` `session_id` varchar(64) NOT NULL DEFAULT ''; |
|
46 |
|
|
47 |
ALTER TABLE `sys_user` CHANGE `language` `language` varchar(2) NOT NULL DEFAULT 'en'; |
|
48 |
ALTER TABLE `sys_user` |
|
49 |
ADD `id_rsa` varchar(2000) NOT NULL DEFAULT '' AFTER `client_id`, |
|
50 |
ADD `ssh_rsa` varchar(600) NOT NULL DEFAULT '' AFTER `id_rsa`; |
|
51 |
|
|
52 |
ALTER TABLE `webdav_user` CHANGE `username_prefix` `username_prefix` varchar(50) NOT NULL DEFAULT ''; |
|
53 |
|
|
54 |
ALTER TABLE `web_database` CHANGE `database_name_prefix` `database_name_prefix` varchar(50) NOT NULL DEFAULT ''; |
|
55 |
|
|
56 |
ALTER TABLE `web_database_user` CHANGE `database_user_prefix` `database_user_prefix` varchar(50) NOT NULL DEFAULT ''; |
|
57 |
|
|
58 |
ALTER TABLE `web_domain` DROP COLUMN `document_root_www`; |
|
59 |
ALTER TABLE `web_domain` |
|
60 |
CHANGE `ssl_key` `ssl_key` mediumtext, |
|
61 |
CHANGE `apache_directives` `apache_directives` mediumtext, |
|
62 |
CHANGE `php_open_basedir` `php_open_basedir` mediumtext, |
|
63 |
CHANGE `custom_php_ini` `custom_php_ini` mediumtext; |
|
64 |
|
|
65 |
CREATE TABLE IF NOT EXISTS `dns_slave` ( |
|
66 |
`id` int(10) unsigned NOT NULL auto_increment, |
|
67 |
`sys_userid` int(11) unsigned NOT NULL DEFAULT '0', |
|
68 |
`sys_groupid` int(11) unsigned NOT NULL DEFAULT '0', |
|
69 |
`sys_perm_user` varchar(5) NOT NULL DEFAULT '', |
|
70 |
`sys_perm_group` varchar(5) NOT NULL DEFAULT '', |
|
71 |
`sys_perm_other` varchar(5) NOT NULL DEFAULT '', |
|
72 |
`server_id` int(11) NOT NULL default '1', |
|
73 |
`origin` varchar(255) NOT NULL DEFAULT '', |
|
74 |
`ns` varchar(255) NOT NULL DEFAULT '', |
|
75 |
`active` enum('N','Y') NOT NULL DEFAULT 'N', |
|
76 |
`xfer` varchar(255) NOT NULL DEFAULT '', |
|
77 |
PRIMARY KEY (`id`), |
|
78 |
UNIQUE KEY `slave` (`origin`,`server_id`), |
|
79 |
KEY `active` (`active`) |
|
80 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |