update trojan

This commit is contained in:
Tokumeikoi 2020-07-01 18:50:31 +08:00
parent 4c457d183f
commit dc42e82dc0
2 changed files with 2 additions and 2 deletions

View File

@ -199,7 +199,7 @@ CREATE TABLE `v2_server_trojan` (
`host` varchar(255) NOT NULL COMMENT '主机名', `host` varchar(255) NOT NULL COMMENT '主机名',
`port` int(11) NOT NULL COMMENT '连接端口', `port` int(11) NOT NULL COMMENT '连接端口',
`server_port` int(11) NOT NULL COMMENT '服务端口', `server_port` int(11) NOT NULL COMMENT '服务端口',
`allow_insecure` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否允许不安全', `allow_insecure` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否允许不安全',
`server_name` varchar(255) DEFAULT NULL, `server_name` varchar(255) DEFAULT NULL,
`show` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否显示', `show` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否显示',
`sort` int(11) DEFAULT NULL, `sort` int(11) DEFAULT NULL,

View File

@ -291,7 +291,7 @@ ALTER TABLE `v2_server_trojan`
ADD `parent_id` int(11) NULL AFTER `group_id`; ADD `parent_id` int(11) NULL AFTER `group_id`;
ALTER TABLE `v2_server_trojan` ALTER TABLE `v2_server_trojan`
ADD `allow_insecure` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否允许不安全' AFTER `server_port`, ADD `allow_insecure` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否允许不安全' AFTER `server_port`,
CHANGE `show` `show` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否显示' AFTER `allow_insecure`; CHANGE `show` `show` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否显示' AFTER `allow_insecure`;
ALTER TABLE `v2_server_trojan` ALTER TABLE `v2_server_trojan`