mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-12 10:16:37 +08:00
[优化] 移除数据库迁移中的 ApplyCurrentSchema 调用
This commit is contained in:
@@ -31,7 +31,7 @@ func (wafIPGroupV18) TableName() string {
|
||||
}
|
||||
|
||||
func migrateV18(ctx Context, db *gorm.DB, backend string) error {
|
||||
return ctx.ApplyCurrentSchema(db, backend)
|
||||
return nil
|
||||
}
|
||||
|
||||
func validateV18(ctx Context, db *gorm.DB, backend string) error {
|
||||
|
||||
Reference in New Issue
Block a user