From eef78c7873ba2426a2163fd10cad965bfc89a5c9 Mon Sep 17 00:00:00 2001
From: mk1990 <153958232@qq.com>
Date: 星期五, 15 四月 2022 17:05:26 +0800
Subject: [PATCH] 同步使用临时方案解决更新通道调用百度API问题之前的内容

---
 sql/update.sql |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/sql/update.sql b/sql/update.sql
index 2a16265..5804518 100644
--- a/sql/update.sql
+++ b/sql/update.sql
@@ -1,7 +1,8 @@
-ALTER TABLE stream_proxy ADD status bit(1) not null;
+alter table device
+    add subscribeCycleForMobilePosition int null;
 
-# 鍘婚櫎瀛愭煡璇紭鍖栨煡璇㈤�熷害
-alter table device_channel
-    add subCount int default 0 null;
+alter table device
+    add mobilePositionSubmissionInterval int default 5 null;
 
-update device_channel dc set dc.subCount = (select  te.count from (SELECT count(0) as count FROM device_channel WHERE parentId = dc.channelId) te)
\ No newline at end of file
+alter table device
+    add subscribeCycleForAlarm int null;
\ No newline at end of file

--
Gitblit v1.8.0