mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-23 21:47:49 +08:00
合并PR修改中的数据库脚本
This commit is contained in:
parent
2c494bcc7d
commit
c3b66fc475
@ -137,11 +137,12 @@ create table IF NOT EXISTS wvp_device_channel
|
|||||||
gps_speed double precision,
|
gps_speed double precision,
|
||||||
gps_altitude double precision,
|
gps_altitude double precision,
|
||||||
gps_direction double precision,
|
gps_direction double precision,
|
||||||
index (data_type),
|
|
||||||
index (data_device_id),
|
|
||||||
constraint uk_wvp_unique_channel unique (gb_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
|
create table IF NOT EXISTS wvp_device_mobile_position
|
||||||
(
|
(
|
||||||
id serial primary key,
|
id serial primary key,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user