This commit is contained in:
张成
2026-03-26 09:40:55 +08:00
parent 7d0a921805
commit 60258c6c7d
11 changed files with 58 additions and 20 deletions

View File

@@ -9,7 +9,7 @@ CREATE TABLE IF NOT EXISTS `biz_audit_log` (
`resource_type` VARCHAR(64) NOT NULL DEFAULT '',
`resource_id` BIGINT UNSIGNED NULL DEFAULT NULL,
`detail` JSON NULL,
`created_at` DATETIME NOT NULL,
`created_at` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
KEY `idx_biz_audit_action` (`action`),
KEY `idx_biz_audit_created` (`created_at`)