chore: 登录失败也记录日志

This commit is contained in:
xiaojunnuo
2026-07-12 22:28:51 +08:00
parent bab1df2c78
commit bfb3ee4c43
18 changed files with 78 additions and 57 deletions
@@ -1,2 +1,4 @@
ALTER TABLE "cd_audit_log" ADD COLUMN "scope" varchar(32) NOT NULL DEFAULT ('user');
CREATE INDEX "index_audit_log_scope" ON "cd_audit_log" ("scope");
ALTER TABLE "cd_audit_log" ADD COLUMN "success" boolean NOT NULL DEFAULT true;