mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-22 21:37:48 +08:00
修复数据库内容
This commit is contained in:
parent
f5443abb33
commit
73be39127b
@ -22,7 +22,7 @@ update wvp_device_channel wdc
|
|||||||
set data_type = 2, data_device_id = (SELECT stream_push_id from wvp_device_channel where stream_push_id is not null and id = wdc.id ) where stream_push_id is not null;
|
set data_type = 2, data_device_id = (SELECT stream_push_id from wvp_device_channel where stream_push_id is not null and id = wdc.id ) where stream_push_id is not null;
|
||||||
|
|
||||||
update wvp_device_channel wdc
|
update wvp_device_channel wdc
|
||||||
set data_type = 1, data_device_id = (SELECT stream_proxy_id from wvp_device_channel where stream_proxy_id is not null and id = wdc.id ) where stream_proxy_id is not null;
|
set data_type = 3, data_device_id = (SELECT stream_proxy_id from wvp_device_channel where stream_proxy_id is not null and id = wdc.id ) where stream_proxy_id is not null;
|
||||||
|
|
||||||
alter table wvp_device_channel drop device_db_id;
|
alter table wvp_device_channel drop device_db_id;
|
||||||
alter table wvp_device_channel drop stream_push_id;
|
alter table wvp_device_channel drop stream_push_id;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user