gaofw189
2023-02-03 40ece192fe8b7c2df8599a71daeda422083c5a47
sql/update.sql
@@ -1,7 +1,3 @@
ALTER TABLE stream_proxy ADD status bit(1) not null;
# 去除子查询优化查询速度
alter table device_channel
    add subCount int default 0 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)
-- 2.6.6->2.6.7
alter table device
    add keepaliveIntervalTime int default null;