新增代理服务的离线接口,优化认证逻辑,代理服务表添加状态字段
This commit is contained in:
@@ -516,14 +516,17 @@ create table proxy (
|
||||
version int not null,
|
||||
name varchar(255) not null unique,
|
||||
host varchar(255) not null,
|
||||
type int not null default 0,
|
||||
secret varchar(255),
|
||||
created_at timestamp default current_timestamp,
|
||||
updated_at timestamp default current_timestamp,
|
||||
type int not null,
|
||||
status int not null,
|
||||
created_at timestamp default current_timestamp,
|
||||
updated_at timestamp default current_timestamp,
|
||||
deleted_at timestamp
|
||||
);
|
||||
create index proxy_name_index on proxy (name);
|
||||
create index proxy_host_index on proxy (host);
|
||||
create index proxy_type_index on proxy (type);
|
||||
create index proxy_status_index on proxy (status);
|
||||
create index proxy_deleted_at_index on proxy (deleted_at);
|
||||
|
||||
-- proxy表字段注释
|
||||
@@ -534,6 +537,7 @@ comment on column proxy.name is '代理服务名称';
|
||||
comment on column proxy.host is '代理服务地址';
|
||||
comment on column proxy.type is '代理服务类型:1-三方,2-自有';
|
||||
comment on column proxy.secret is '代理服务密钥';
|
||||
comment on column proxy.status is '代理服务状态:0-离线,1-在线';
|
||||
comment on column proxy.created_at is '创建时间';
|
||||
comment on column proxy.updated_at is '更新时间';
|
||||
comment on column proxy.deleted_at is '删除时间';
|
||||
|
||||
Reference in New Issue
Block a user