wvp-GB28181-pro/sql/更新-postgresql-kingbase-2.6....

34 lines
896 B
MySQL
Raw Normal View History

alter table wvp_device_channel
2023-10-24 18:20:24 +08:00
rename "stream_id" to stream_id ;
alter table wvp_platform
2023-10-24 18:20:24 +08:00
add auto_push_channel bool default false;
alter table wvp_stream_proxy
2023-10-24 18:20:24 +08:00
add stream_key character varying(255);
2023-10-12 18:34:16 +08:00
create table wvp_cloud_record (
2023-10-13 15:26:51 +08:00
id serial primary key,
app character varying(255),
stream character varying(255),
call_id character varying(255),
2023-10-24 18:20:24 +08:00
start_time int8,
end_time int8,
2023-10-13 15:26:51 +08:00
media_server_id character varying(50),
file_name character varying(255),
folder character varying(255),
file_path character varying(255),
2023-10-19 17:52:19 +08:00
collect bool default false,
2023-10-24 18:20:24 +08:00
file_size int8,
time_len int8,
2023-10-13 15:26:51 +08:00
constraint uk_stream_push_app_stream_path unique (app, stream, file_path)
2023-10-12 18:34:16 +08:00
);
2023-10-19 17:52:19 +08:00
alter table wvp_media_server
add record_path character varying(255);
alter table wvp_media_server
add record_date integer default 7;