浏览代码

补充建表sql

648540858 3 年之前
父节点
当前提交
76226c414d
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      sql/mysql.sql

+ 3 - 0
sql/mysql.sql

@@ -40,6 +40,9 @@ CREATE TABLE `device` (
                           `port` int NOT NULL,
                           `expires` int NOT NULL,
                           `subscribeCycleForCatalog` int NOT NULL,
+                          `subscribeCycleForMobilePosition` int NOT NULL,
+                          `mobilePositionSubmissionInterval` int DEFAULT 5 NOT NULL,
+                          `subscribeCycleForAlarm` int NOT NULL,
                           `hostAddress` varchar(50) COLLATE utf8mb4_general_ci NOT NULL,
                           `charset` varchar(50) COLLATE utf8mb4_general_ci NOT NULL,
                           PRIMARY KEY (`id`),