From 0bbac37135117faefff0b658094726a8bdb9802c Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: Tue, 29 Oct 2024 17:35:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=BB=BA=E8=A1=A8=E8=AF=AD?= =?UTF-8?q?=E5=8F=A5=E4=B8=8D=E5=90=8C=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 数据库/2.7.3/初始化-mysql-2.7.3.sql | 5 ++--- 数据库/2.7.3/初始化-postgresql-kingbase-2.7.3.sql | 1 + 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/数据库/2.7.3/初始化-mysql-2.7.3.sql b/数据库/2.7.3/初始化-mysql-2.7.3.sql index 9644a932..d572843d 100644 --- a/数据库/2.7.3/初始化-mysql-2.7.3.sql +++ b/数据库/2.7.3/初始化-mysql-2.7.3.sql @@ -152,11 +152,10 @@ create table wvp_device_channel constraint uk_wvp_device_channel_unique_device_channel unique (device_db_id, device_id), constraint uk_wvp_unique_channel unique (gb_device_id), constraint uk_wvp_unique_stream_push_id unique (stream_push_id), - constraint uk_wvp_unique_stream_proxy_id unique (stream_proxy_id), - index(device_db_id) + constraint uk_wvp_unique_stream_proxy_id unique (stream_proxy_id) ); - +create index uk_wvp_device_db_id on wvp_device_channel (device_db_id); create table wvp_media_server ( diff --git a/数据库/2.7.3/初始化-postgresql-kingbase-2.7.3.sql b/数据库/2.7.3/初始化-postgresql-kingbase-2.7.3.sql index 6fe4a67a..cb06d2ee 100644 --- a/数据库/2.7.3/初始化-postgresql-kingbase-2.7.3.sql +++ b/数据库/2.7.3/初始化-postgresql-kingbase-2.7.3.sql @@ -171,6 +171,7 @@ create table wvp_device_channel constraint uk_wvp_unique_stream_proxy_id unique (stream_proxy_id) ); +create index uk_wvp_device_db_id on wvp_device_channel (device_db_id); create table wvp_media_server