From a5c455ca1007079d91be55304d976955d1304c2f Mon Sep 17 00:00:00 2001 From: xiaoQQya Date: Fri, 11 Apr 2025 14:37:28 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20postgres=20?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=BA=93=E8=84=9A=E6=9C=AC=20sql=20=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 数据库/2.7.3/初始化-postgresql-kingbase-2.7.3.sql | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/数据库/2.7.3/初始化-postgresql-kingbase-2.7.3.sql b/数据库/2.7.3/初始化-postgresql-kingbase-2.7.3.sql index 762a9ccf4..3423d0a49 100644 --- a/数据库/2.7.3/初始化-postgresql-kingbase-2.7.3.sql +++ b/数据库/2.7.3/初始化-postgresql-kingbase-2.7.3.sql @@ -159,11 +159,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 idx_data_type ON wvp_device_channel (data_type); +CREATE INDEX idx_data_device_id ON wvp_device_channel (data_device_id); + drop table IF EXISTS wvp_media_server; create table IF NOT EXISTS wvp_media_server (