channel 表添加 IP 白名单字段用于快照保存与展示

This commit is contained in:
2025-05-22 15:22:40 +08:00
parent 15ffccf554
commit 09a9cc573e
5 changed files with 18 additions and 6 deletions

View File

@@ -635,6 +635,7 @@ create table channel (
edge_host varchar(255),
protocol int,
auth_ip bool not null default false,
whitelists text,
auth_pass bool not null default false,
username varchar(255),
password varchar(255),
@@ -666,6 +667,7 @@ comment on column channel.proxy_port is '转发端口';
comment on column channel.edge_host is '节点地址';
comment on column channel.protocol is '协议类型1-http2-https3-socks5';
comment on column channel.auth_ip is 'IP认证';
comment on column channel.whitelists is 'IP白名单逗号分隔';
comment on column channel.auth_pass is '密码认证';
comment on column channel.username is '用户名';
comment on column channel.password is '密码';