This commit is contained in:
2026-06-09 21:19:30 +08:00
parent 8b41ff9360
commit 0484e79978
66 changed files with 4043 additions and 533 deletions
+4
View File
@@ -0,0 +1,4 @@
-- ============ 用户管理:账号启用状态 ============
-- enabled 用于管理员禁用账号而不删除:禁用后该用户无法通过 ResolveSession
-- 鉴权。默认 TRUE 保证存量账号与 bootstrap 管理员不受影响。
ALTER TABLE users ADD COLUMN enabled BOOLEAN NOT NULL DEFAULT TRUE;