slark WIP snapshot (fence 1789139896433)
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
-- 回滚 V4:删除 principal_type 列。回滚后服务 Token 无法被识别(AuthService 不再区分主体类型),
|
||||
-- 存量 principal_type='service' 的 Token 会因 user_id 为空无法解析人员而 401,等于全部失效;
|
||||
-- 回滚前应先禁用或删除服务 Token(UPDATE agent_api_key SET status=0 WHERE principal_type='service')。
|
||||
ALTER TABLE agent_api_key
|
||||
DROP COLUMN principal_type;
|
||||
Reference in New Issue
Block a user