mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-18 03:27:48 +08:00
修复数据库索引重复
This commit is contained in:
parent
c11da964e2
commit
83662f4210
@ -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)
|
||||
);
|
||||
|
||||
|
||||
@ -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)
|
||||
);
|
||||
|
||||
|
||||
@ -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)
|
||||
);
|
||||
|
||||
/*
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user