合并PR修改中的数据库脚本

This commit is contained in:
lin
2025-04-14 11:30:45 +08:00
parent 2c494bcc7d
commit c3b66fc475

View File

@@ -137,11 +137,12 @@ create table IF NOT EXISTS wvp_device_channel
gps_speed double precision,
gps_altitude double precision,
gps_direction double precision,
index (data_type),
index (data_device_id),
constraint uk_wvp_unique_channel unique (gb_device_id)
);
create index if not exists data_type on wvp_device_channel (data_type);
create index if not exists data_device_id on wvp_device_channel (data_device_id);
create table IF NOT EXISTS wvp_device_mobile_position
(
id serial primary key,