fix: 修复了未自动迁移的表

This commit is contained in:
lafay
2026-03-19 19:43:37 +08:00
parent b0f209fdf8
commit 4c2d605411
2 changed files with 5 additions and 140 deletions

View File

@@ -133,6 +133,11 @@ func autoMigrate(db *gorm.DB) error {
&SensitiveWord{},
&AuditLog{},
// 日志相关
&OperationLog{}, // 操作日志
&LoginLog{}, // 登录日志
&DataChangeLog{}, // 数据变更日志
// 群组相关
&Group{},
&GroupMember{},