[优化] 移除数据库迁移中的 ApplyCurrentSchema 调用

This commit is contained in:
ryan
2026-06-01 17:32:30 +08:00
parent 663da01bda
commit d3ce26414c
12 changed files with 5 additions and 28 deletions
-5
View File
@@ -64,11 +64,6 @@ func migrateV19(ctx Context, db *gorm.DB, backend string) error {
slog.Info("dropped tunnel_id column from proxy_routes")
}
slog.Info("v19: starting ApplyCurrentSchema (auto-migrate all tables)")
if err := ctx.ApplyCurrentSchema(db, backend); err != nil {
return err
}
slog.Info("v19: ApplyCurrentSchema completed")
return nil
}