refactor: 调整系统初始化模块位置

This commit is contained in:
2026-07-28 13:40:44 +08:00
parent d719a0ca3f
commit 095efa4e64
41 changed files with 941 additions and 381 deletions
@@ -24,7 +24,3 @@ CREATE TABLE IF NOT EXISTS sys_license (
updated_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
UNIQUE KEY uk_jti (jti)
) COMMENT '当前生效的 License';
-- 已有环境跳过初始化门禁(仅开发/存量部署)
INSERT INTO sys_init (id, step) VALUES (1, 3)
ON DUPLICATE KEY UPDATE step = GREATEST(step, 3);