1. 增加用户族谱表
This commit is contained in:
2026-04-13 18:48:29 +08:00
parent 2e298448c9
commit db722f6aff
5 changed files with 14 additions and 24 deletions

View File

@@ -6,7 +6,6 @@ CREATE TABLE user_hierarchy
root_id int8 NULL,
level int4 NOT NULL,
ancestors int8[] NOT NULL DEFAULT '{}'::int8[],
is_whitelist int4 DEFAULT 0, -- 是否白名单
remarks text, -- 备注
create_user int8, -- 创建人
create_dept int8, -- 创建部门