From 53901ff058a7efa090a7c3d0d87779e2ea1db63a Mon Sep 17 00:00:00 2001 From: root Date: Fri, 22 Nov 2019 13:02:19 +0800 Subject: [PATCH] update --- install.sql | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/install.sql b/install.sql index f3db9f9c..526eb8bb 100644 --- a/install.sql +++ b/install.sql @@ -55,11 +55,13 @@ CREATE TABLE `v2_plan` ( ) ENGINE=InnoDB DEFAULT CHARSET=utf8; +SET NAMES utf8mb4; + DROP TABLE IF EXISTS `v2_server`; CREATE TABLE `v2_server` ( `id` int(11) NOT NULL AUTO_INCREMENT, `group_id` varchar(255) NOT NULL, - `name` varchar(255) NOT NULL, + `name` varchar(255) CHARACTER SET utf8mb4 NOT NULL, `host` varchar(255) NOT NULL, `port` int(11) NOT NULL, `server_port` int(11) NOT NULL, @@ -68,6 +70,7 @@ CREATE TABLE `v2_server` ( `rate` varchar(11) NOT NULL, `network` varchar(11) NOT NULL, `settings` text, + `show` tinyint(1) NOT NULL DEFAULT '0', `last_check_at` int(11) DEFAULT NULL, `created_at` int(11) NOT NULL, `updated_at` int(11) NOT NULL, @@ -129,4 +132,4 @@ CREATE TABLE `v2_user` ( ) ENGINE=InnoDB DEFAULT CHARSET=utf8; --- 2019-11-06 04:36:56 \ No newline at end of file +-- 2019-11-22 05:01:40 \ No newline at end of file