From 77cfc4c92b02f8bd34589873dcbb37d85b128659 Mon Sep 17 00:00:00 2001 From: linbangquan <1437892690@qq.com> Date: Tue, 29 Aug 2023 01:55:01 +0000 Subject: [PATCH] =?UTF-8?q?update=20neatlogic.sql.=20=E6=9B=B4=E6=96=B0ser?= =?UTF-8?q?ver=5Fstatus=E8=A1=A8=E5=88=9D=E5=A7=8B=E5=8C=96=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E8=AF=AD=E5=8F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: linbangquan <1437892690@qq.com> --- neatlogic.sql | 80 +++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 77 insertions(+), 3 deletions(-) diff --git a/neatlogic.sql b/neatlogic.sql index 0834bf3..d24c5a1 100644 --- a/neatlogic.sql +++ b/neatlogic.sql @@ -178,9 +178,83 @@ CREATE TABLE `server_status` ( -- Records of server_status -- ---------------------------- BEGIN; -INSERT INTO `server_status` VALUES ('http://192.168.0.104:8282', 1, 'startup'); -INSERT INTO `server_status` VALUES ('http://192.168.0.97:8282', 97, 'startup'); -INSERT INTO `server_status` VALUES (NULL, 8341, 'startup'); +INSERT INTO `server_status` ( + `host`, + `server_id`, + `status`, + `heartbeat_rate`, + `heartbeat_threshold`, + `heartbeat_time`, + `fcu`, + `fcd`, + `lcu`, + `lcd` +) +VALUES + ( + 'http://192.168.0.104:8282', + 1, + 'startup', + 3, + 5, + NOW(3), + 'system', + NOW(3), + 'system', + NOW(3) + ) ; + +INSERT INTO `server_status` ( + `host`, + `server_id`, + `status`, + `heartbeat_rate`, + `heartbeat_threshold`, + `heartbeat_time`, + `fcu`, + `fcd`, + `lcu`, + `lcd` +) +VALUES + ( + 'http://192.168.0.97:8282', + 97, + 'startup', + 3, + 5, + NOW(3), + 'system', + NOW(3), + 'system', + NOW(3) + ) ; + + INSERT INTO `server_status` ( + `host`, + `server_id`, + `status`, + `heartbeat_rate`, + `heartbeat_threshold`, + `heartbeat_time`, + `fcu`, + `fcd`, + `lcu`, + `lcd` +) +VALUES + ( + NULL, + 8341, + 'startup', + 3, + 5, + NOW(3), + 'system', + NOW(3), + 'system', + NOW(3) + ) ; COMMIT; -- ---------------------------- -- Gitee