Initial commit: GovAI 政务AI平台
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
-- 回滚:把 super_admin 恢复绑定到第一个机构(仅作占位,无法还原原始关系)
|
||||
UPDATE users SET org_id = (SELECT id FROM organizations ORDER BY sort_order LIMIT 1)
|
||||
WHERE role = 'super_admin' AND org_id IS NULL;
|
||||
Reference in New Issue
Block a user