修正数据库sql文件
parent
c69b64c756
commit
5a70a4742d
|
@ -154,8 +154,13 @@ create table wvp_media_server (
|
|||
rtp_proxy_port integer,
|
||||
rtsp_port integer,
|
||||
rtsp_ssl_port integer,
|
||||
flv_port integer,
|
||||
flv_ssl_port integer,
|
||||
ws_flv_port integer,
|
||||
ws_flv_ssl_port integer,
|
||||
auto_config bool default false,
|
||||
secret character varying(50),
|
||||
type character varying(50) default 'zlm',
|
||||
rtp_enable bool default false,
|
||||
rtp_port_range character varying(50),
|
||||
send_rtp_port_range character varying(50),
|
||||
|
@ -316,6 +321,18 @@ create table wvp_resources_tree (
|
|||
path character varying(255)
|
||||
);
|
||||
|
||||
create table wvp_user_api_key (
|
||||
id serial primary key ,
|
||||
user_id bigint,
|
||||
app character varying(255) ,
|
||||
api_key text,
|
||||
expired_at bigint,
|
||||
remark character varying(255),
|
||||
enable bool default true,
|
||||
create_time character varying(50),
|
||||
update_time character varying(50)
|
||||
);
|
||||
|
||||
|
||||
/*初始数据*/
|
||||
INSERT INTO wvp_user VALUES (1, 'admin','21232f297a57a5a743894a0e4a801fc3',1,'2021-04-13 14:14:57','2021-04-13 14:14:57','3e80d1762a324d5b0ff636e0bd16f1e3');
|
||||
|
|
|
@ -154,8 +154,13 @@ create table wvp_media_server (
|
|||
rtp_proxy_port integer,
|
||||
rtsp_port integer,
|
||||
rtsp_ssl_port integer,
|
||||
flv_port integer,
|
||||
flv_ssl_port integer,
|
||||
ws_flv_port integer,
|
||||
ws_flv_ssl_port integer,
|
||||
auto_config bool default false,
|
||||
secret character varying(50),
|
||||
type character varying(50) default 'zlm',
|
||||
rtp_enable bool default false,
|
||||
rtp_port_range character varying(50),
|
||||
send_rtp_port_range character varying(50),
|
||||
|
@ -316,6 +321,18 @@ create table wvp_resources_tree (
|
|||
path character varying(255)
|
||||
);
|
||||
|
||||
create table wvp_user_api_key (
|
||||
id serial primary key ,
|
||||
user_id bigint,
|
||||
app character varying(255) ,
|
||||
api_key text,
|
||||
expired_at bigint,
|
||||
remark character varying(255),
|
||||
enable bool default true,
|
||||
create_time character varying(50),
|
||||
update_time character varying(50)
|
||||
);
|
||||
|
||||
|
||||
/*初始数据*/
|
||||
INSERT INTO wvp_user VALUES (1, 'admin','21232f297a57a5a743894a0e4a801fc3',1,'2021-04-13 14:14:57','2021-04-13 14:14:57','3e80d1762a324d5b0ff636e0bd16f1e3');
|
||||
|
|
|
@ -1,2 +1,26 @@
|
|||
alter table wvp_media_server
|
||||
add transcode_suffix character varying(255);
|
||||
add transcode_suffix character varying(255);
|
||||
|
||||
alter table wvp_media_server
|
||||
add type character varying(50) default 'zlm';
|
||||
|
||||
alter table wvp_media_server
|
||||
add flv_port integer;
|
||||
alter table wvp_media_server
|
||||
add flv_ssl_port integer;
|
||||
alter table wvp_media_server
|
||||
add ws_flv_port integer;
|
||||
alter table wvp_media_server
|
||||
add ws_flv_ssl_port integer;
|
||||
|
||||
create table wvp_user_api_key (
|
||||
id serial primary key ,
|
||||
user_id bigint,
|
||||
app character varying(255) ,
|
||||
api_key text,
|
||||
expired_at bigint,
|
||||
remark character varying(255),
|
||||
enable bool default true,
|
||||
create_time character varying(50),
|
||||
update_time character varying(50)
|
||||
);
|
|
@ -1,2 +1,26 @@
|
|||
alter table wvp_media_server
|
||||
add transcode_suffix character varying(255);
|
||||
add transcode_suffix character varying(255);
|
||||
|
||||
alter table wvp_media_server
|
||||
add type character varying(50) default 'zlm';
|
||||
|
||||
alter table wvp_media_server
|
||||
add flv_port integer;
|
||||
alter table wvp_media_server
|
||||
add flv_ssl_port integer;
|
||||
alter table wvp_media_server
|
||||
add ws_flv_port integer;
|
||||
alter table wvp_media_server
|
||||
add ws_flv_ssl_port integer;
|
||||
|
||||
create table wvp_user_api_key (
|
||||
id serial primary key ,
|
||||
user_id bigint,
|
||||
app character varying(255) ,
|
||||
api_key text,
|
||||
expired_at bigint,
|
||||
remark character varying(255),
|
||||
enable bool default true,
|
||||
create_time character varying(50),
|
||||
update_time character varying(50)
|
||||
);
|
|
@ -171,6 +171,7 @@ create table wvp_media_server (
|
|||
hook_alive_interval integer,
|
||||
record_path character varying(255),
|
||||
record_day integer default 7,
|
||||
transcode_suffix character varying(255),
|
||||
constraint uk_media_server_unique_ip_http_port unique (ip, http_port)
|
||||
);
|
||||
|
||||
|
@ -319,6 +320,7 @@ create table wvp_resources_tree (
|
|||
parentId integer,
|
||||
path character varying(255)
|
||||
);
|
||||
|
||||
create table wvp_user_api_key (
|
||||
id serial primary key ,
|
||||
user_id bigint,
|
||||
|
@ -331,6 +333,7 @@ create table wvp_user_api_key (
|
|||
update_time character varying(50)
|
||||
);
|
||||
|
||||
|
||||
/*初始数据*/
|
||||
INSERT INTO wvp_user VALUES (1, 'admin','21232f297a57a5a743894a0e4a801fc3',1,'2021-04-13 14:14:57','2021-04-13 14:14:57','3e80d1762a324d5b0ff636e0bd16f1e3');
|
||||
INSERT INTO wvp_user_role VALUES (1, 'admin','0','2021-04-13 14:14:57','2021-04-13 14:14:57');
|
|
@ -171,6 +171,7 @@ create table wvp_media_server (
|
|||
hook_alive_interval integer,
|
||||
record_path character varying(255),
|
||||
record_day integer default 7,
|
||||
transcode_suffix character varying(255),
|
||||
constraint uk_media_server_unique_ip_http_port unique (ip, http_port)
|
||||
);
|
||||
|
||||
|
@ -319,6 +320,7 @@ create table wvp_resources_tree (
|
|||
parentId integer,
|
||||
path character varying(255)
|
||||
);
|
||||
|
||||
create table wvp_user_api_key (
|
||||
id serial primary key ,
|
||||
user_id bigint,
|
||||
|
@ -331,6 +333,7 @@ create table wvp_user_api_key (
|
|||
update_time character varying(50)
|
||||
);
|
||||
|
||||
|
||||
/*初始数据*/
|
||||
INSERT INTO wvp_user VALUES (1, 'admin','21232f297a57a5a743894a0e4a801fc3',1,'2021-04-13 14:14:57','2021-04-13 14:14:57','3e80d1762a324d5b0ff636e0bd16f1e3');
|
||||
INSERT INTO wvp_user_role VALUES (1, 'admin','0','2021-04-13 14:14:57','2021-04-13 14:14:57');
|
|
@ -1,3 +1,6 @@
|
|||
alter table wvp_media_server
|
||||
add transcode_suffix character varying(255);
|
||||
|
||||
alter table wvp_media_server
|
||||
add type character varying(50) default 'zlm';
|
||||
|
|
@ -1,3 +1,6 @@
|
|||
alter table wvp_media_server
|
||||
add transcode_suffix character varying(255);
|
||||
|
||||
alter table wvp_media_server
|
||||
add type character varying(50) default 'zlm';
|
||||
|
Loading…
Reference in New Issue