feat:根证书导入增加校验
This commit is contained in:
@@ -77,6 +77,9 @@ SET password_salt = 'a6bea7601138e90a540b39c73d53df81',
|
||||
WHERE role_code = 'OPS_ADMIN'
|
||||
AND uid = 1;
|
||||
|
||||
ALTER TABLE tms_auth_full_account
|
||||
DROP COLUMN password_hash;
|
||||
|
||||
-- 如果这里失败,说明旧库中存在不属于上述固定席位的认证账号,需要先明确其迁移策略。
|
||||
ALTER TABLE tms_auth_full_account
|
||||
MODIFY COLUMN password_digest VARCHAR(64) NOT NULL COMMENT '口令静态摘要:SM3(password_salt + 原始口令)';
|
||||
|
||||
Reference in New Issue
Block a user