Commit 8f0a6d20 by 李乾广

添加禁止用户表

1 parent fb17aaf4
......@@ -276,4 +276,29 @@ alter table d_pic add FOREIGN KEY ("pack_id") REFERENCES "public"."d_pack" ("id"
alter table d_pack add FOREIGN KEY ("storage_id") REFERENCES "public"."d_storage" ("id");
alter table d_pack add FOREIGN KEY ("task_id") REFERENCES "public"."d_task" ("id");
alter table r_pack_tag add FOREIGN KEY ("pack_id") REFERENCES "public"."d_pack" ("id");
\ No newline at end of file
alter table r_pack_tag add FOREIGN KEY ("pack_id") REFERENCES "public"."d_pack" ("id");
-- 禁止用户表
create table if not exists s_forbidden_user (
"id" serial8,
"user_id" varchar(64) DEFAULT NULL,
"status" int2 DEFAULT NULL,
"deleted" int2 DEFAULT NULL,
"name" varchar(32) DEFAULT NULL,
"remark" varchar(64) DEFAULT NULL,
"url" varchar(32) DEFAULT NULL,
"create_time" timestamp DEFAULT NULL,
"update_time" timestamp DEFAULT NULL,
CONSTRAINT "s_forbidden_user_pkey" PRIMARY KEY ("id")
);
COMMENT ON COLUMN "public"."s_forbidden_user"."id" IS 'id';
COMMENT ON COLUMN "public"."s_forbidden_user"."user_id" IS '用户id';
COMMENT ON COLUMN "public"."s_forbidden_user"."status" IS '状态,0:禁止登陆,查询,等所有操作';
COMMENT ON COLUMN "public"."s_forbidden_user"."deleted" IS '是否删除:0:未删除,1:已删除';
COMMENT ON COLUMN "public"."s_forbidden_user"."name" IS '用户名字';
COMMENT ON COLUMN "public"."s_forbidden_user"."remark" IS '备注';
COMMENT ON COLUMN "public"."s_forbidden_user"."url" IS '请求接口';
COMMENT ON COLUMN "public"."s_forbidden_user"."create_time" IS '创建时间';
COMMENT ON COLUMN "public"."s_forbidden_user"."update_time" IS '修改时间';
COMMENT ON TABLE "public"."s_forbidden_user" IS '禁止用户表';
create index if not exists "indx_user_id" on "s_forbidden_user" using btree("user_id");
......@@ -13,12 +13,14 @@ debug=false
# vion
vion.match-url=http://127.0.0.1:12000/alg
#es
spring.elasticsearch.rest.uris=192.168.1.106:9200
spring.elasticsearch.rest.username=elastic
spring.elasticsearch.rest.password=viontech
access.log.aggs.cron=0/5 * * * * ?
# duration毫秒,limit次数
illegal.map./reid/getPeople.duration=3000
illegal.map./reid/getPeople.limit=6
......
......@@ -19,12 +19,14 @@ debug=false
vion.match-url=http://101.201.36.180:12001/alg
#vion.match-url=http://127.0.0.1:12000/alg
#es
spring.elasticsearch.rest.uris=101.201.36.180:9200
spring.elasticsearch.rest.username=
spring.elasticsearch.rest.password=
access.log.aggs.cron=0/5 * * * * ?
# duration毫秒,limit次数
illegal.map./reid/getPeople.duration=3000
illegal.map./reid/getPeople.limit=6
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!