diff --git a/数据库/2.7.3/初始化-mysql-2.7.3.sql b/数据库/2.7.3/初始化-mysql-2.7.3.sql index 5ffb722c..f294e62e 100644 --- a/数据库/2.7.3/初始化-mysql-2.7.3.sql +++ b/数据库/2.7.3/初始化-mysql-2.7.3.sql @@ -192,7 +192,7 @@ create table wvp_media_server record_day integer default 7, transcode_suffix character varying(255), server_id character varying(50), - constraint uk_media_server_unique_ip_http_port unique (ip, http_port) + constraint uk_media_server_unique_ip_http_port unique (ip, http_port, server_id) ); create table wvp_platform diff --git a/数据库/2.7.3/初始化-postgresql-kingbase-2.7.3.sql b/数据库/2.7.3/初始化-postgresql-kingbase-2.7.3.sql index 9789b463..67fb1445 100644 --- a/数据库/2.7.3/初始化-postgresql-kingbase-2.7.3.sql +++ b/数据库/2.7.3/初始化-postgresql-kingbase-2.7.3.sql @@ -209,7 +209,7 @@ create table wvp_media_server record_day integer default 7, transcode_suffix character varying(255), server_id character varying(50), - constraint uk_media_server_unique_ip_http_port unique (ip, http_port) + constraint uk_media_server_unique_ip_http_port unique (ip, http_port, server_id) ); create table wvp_platform