wvp-gb28181-project/sql/update.sql

22 lines
637 B
MySQL
Raw Normal View History

alter table stream_push
add serverId varchar(50) not null;
alter table device
add geoCoordSys varchar(50) not null;
2022-07-03 07:40:54 +08:00
alter table device
add treeType varchar(50) not null;
update device set device.geoCoordSys='WGS84';
2022-07-03 07:40:54 +08:00
update device set device.treeType='CivilCode';
alter table device_channel
add longitudeGcj02 double default null;
alter table device_channel
add latitudeGcj02 double default null;
alter table device_channel
add longitudeWgs84 double default null;
alter table device_channel
add latitudeWgs84 double default null;
2022-07-03 07:40:54 +08:00
alter table device_channel
add businessGroupId varchar(50) default null;