diff --git a/数据库/2.7.4/初始化-mysql-2.7.4.sql b/数据库/2.7.4/初始化-mysql-2.7.4.sql index 6c3d6eb23..fa1ffbbc3 100644 --- a/数据库/2.7.4/初始化-mysql-2.7.4.sql +++ b/数据库/2.7.4/初始化-mysql-2.7.4.sql @@ -499,6 +499,6 @@ create table IF NOT EXISTS wvp_jt_channel ( name character varying(255), update_time character varying(50) not null, create_time character varying(50) not null, - constraint uk_jt_device_id_device_id unique (terminal_db_id, channel_id) + constraint uk_jt_channel_id_device_id unique (terminal_db_id, channel_id) ); diff --git a/数据库/2.7.4/初始化-postgresql-kingbase-2.7.4.sql b/数据库/2.7.4/初始化-postgresql-kingbase-2.7.4.sql index 0ecf0a0ef..8b9f8ec8b 100644 --- a/数据库/2.7.4/初始化-postgresql-kingbase-2.7.4.sql +++ b/数据库/2.7.4/初始化-postgresql-kingbase-2.7.4.sql @@ -499,6 +499,6 @@ create table IF NOT EXISTS wvp_jt_channel ( name character varying(255), update_time character varying(50) not null, create_time character varying(50) not null, - constraint uk_jt_device_id_device_id unique (terminal_db_id, channel_id) + constraint uk_jt_channel_id_device_id unique (terminal_db_id, channel_id) ); diff --git a/数据库/2.7.4/更新-mysql-2.7.4.sql b/数据库/2.7.4/更新-mysql-2.7.4.sql index 3bee62d10..a1d17c343 100644 --- a/数据库/2.7.4/更新-mysql-2.7.4.sql +++ b/数据库/2.7.4/更新-mysql-2.7.4.sql @@ -32,7 +32,7 @@ create table IF NOT EXISTS wvp_jt_channel ( name character varying(255), update_time character varying(50) not null, create_time character varying(50) not null, - constraint uk_jt_device_id_device_id unique (terminal_db_id, channel_id) + constraint uk_jt_channel_id_device_id unique (terminal_db_id, channel_id) ); /* diff --git a/数据库/2.7.4/更新-postgresql-kingbase-2.7.4.sql b/数据库/2.7.4/更新-postgresql-kingbase-2.7.4.sql index 395aa813e..3daac089b 100644 --- a/数据库/2.7.4/更新-postgresql-kingbase-2.7.4.sql +++ b/数据库/2.7.4/更新-postgresql-kingbase-2.7.4.sql @@ -31,7 +31,7 @@ create table IF NOT EXISTS wvp_jt_channel ( name character varying(255), update_time character varying(50) not null, create_time character varying(50) not null, - constraint uk_jt_device_id_device_id unique (terminal_db_id, channel_id) + constraint uk_jt_channel_id_device_id unique (terminal_db_id, channel_id) ); ALTER table wvp_media_server ADD COLUMN IF NOT EXISTS jtt_proxy_port integer;