From ed2680bf032f76fde675897f7468f64e8b8d5a5e Mon Sep 17 00:00:00 2001
From: chenjialing <595168663@qq.com>
Date: 星期三, 01 六月 2022 14:11:06 +0800
Subject: [PATCH] 修复--重设通道多个设备注册下发生的sql错误修复

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

diff --git a/sql/update.sql b/sql/update.sql
index 2a16265..9c18c26 100644
--- a/sql/update.sql
+++ b/sql/update.sql
@@ -1,7 +1,12 @@
-ALTER TABLE stream_proxy ADD status bit(1) not null;
+alter table parent_platform
+    add startOfflinePush int default 0 null;
 
-# 鍘婚櫎瀛愭煡璇紭鍖栨煡璇㈤�熷害
-alter table device_channel
-    add subCount int default 0 null;
+alter table parent_platform
+    add administrativeDivision varchar(50) not 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 parent_platform
+    add catalogGroup int default 1 null;
+
+alter table device
+    add ssrcCheck int default 0 null;
+

--
Gitblit v1.8.0