From dc42e82dc0d789768cd02721689a76693c0ec0aa Mon Sep 17 00:00:00 2001 From: Tokumeikoi Date: Wed, 1 Jul 2020 18:50:31 +0800 Subject: [PATCH] update trojan --- database/install.sql | 2 +- database/update.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/database/install.sql b/database/install.sql index bc5198d9..f6982cc5 100644 --- a/database/install.sql +++ b/database/install.sql @@ -199,7 +199,7 @@ CREATE TABLE `v2_server_trojan` ( `host` varchar(255) NOT NULL COMMENT '主机名', `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, `show` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否显示', `sort` int(11) DEFAULT NULL, diff --git a/database/update.sql b/database/update.sql index 96360c51..82359d8e 100644 --- a/database/update.sql +++ b/database/update.sql @@ -291,7 +291,7 @@ ALTER TABLE `v2_server_trojan` ADD `parent_id` int(11) NULL AFTER `group_id`; 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`; ALTER TABLE `v2_server_trojan`