From e638660bf74676025bd02c473b5c878a06288f2a Mon Sep 17 00:00:00 2001 From: Tokumeikoi Date: Tue, 11 Feb 2020 16:23:38 +0800 Subject: [PATCH] update sql --- database/install.sql | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/database/install.sql b/database/install.sql index 9ca3d23b..e19d928b 100644 --- a/database/install.sql +++ b/database/install.sql @@ -110,11 +110,12 @@ CREATE TABLE `v2_server` ( `host` varchar(255) NOT NULL, `port` int(11) NOT NULL, `server_port` int(11) NOT NULL, - `tls` tinyint(4) NOT NULL, + `tls` tinyint(4) NOT NULL DEFAULT '0', `tags` varchar(255) DEFAULT NULL, `rate` varchar(11) NOT NULL, `network` varchar(11) NOT NULL, `settings` text, + `rules` text, `show` tinyint(1) NOT NULL DEFAULT '0', `created_at` int(11) NOT NULL, `updated_at` int(11) NOT NULL, @@ -224,4 +225,4 @@ CREATE TABLE `v2_user` ( ) ENGINE=InnoDB DEFAULT CHARSET=utf8; --- 2020-01-31 15:03:40 +-- 2020-02-11 08:22:50