fix: 修复了未自动迁移的表
This commit is contained in:
@@ -133,6 +133,11 @@ func autoMigrate(db *gorm.DB) error {
|
||||
&SensitiveWord{},
|
||||
&AuditLog{},
|
||||
|
||||
// 日志相关
|
||||
&OperationLog{}, // 操作日志
|
||||
&LoginLog{}, // 登录日志
|
||||
&DataChangeLog{}, // 数据变更日志
|
||||
|
||||
// 群组相关
|
||||
&Group{},
|
||||
&GroupMember{},
|
||||
|
||||
Reference in New Issue
Block a user