Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: let SDL retry (#4785)

rebelice1c4aedc0d446
diff --git a/backend/runner/taskrun/executor.go b/backend/runner/taskrun/executor.go
index cc61939777..71607acfc2 100644
--- a/backend/runner/taskrun/executor.go
+++ b/backend/runner/taskrun/executor.go
@@ -133,7 +133,7 @@ func preMigration(ctx context.Context, stores *store.Store, profile config.Profi
// We will force migration for baseline, migrate and data type of migrations.
// This usually happens when the previous attempt fails and the client retries the migration.
// We also force migration for VCS migrations, which is usually a modified file to correct a former wrong migration commit.
- if mi.Type == db.Baseline || mi.Type == db.Migrate || mi.Type == db.Data {
+ if mi.Type == db.Baseline || mi.Type == db.Migrate || mi.Type == db.MigrateSDL || mi.Type == db.Data {
mi.Force = true
}