修复数据库索引重复

This commit is contained in:
lin
2025-08-12 11:36:23 +08:00
parent c11da964e2
commit 83662f4210
4 changed files with 4 additions and 4 deletions

View File

@@ -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)
);

View File

@@ -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)
);

View File

@@ -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)
);
/*

View File

@@ -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;