Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: fix the dev migration check (#6708)
Danny Xu4e31b65210ee
diff --git a/backend/migrator/migrator.go b/backend/migrator/migrator.goindex 69a50a4530..b19e45393e 100644--- a/backend/migrator/migrator.go+++ b/backend/migrator/migrator.go@@ -495,7 +495,7 @@ func getDevMigrations() ([]devMigration, error) {func migrationExists(statement string, histories []*store.InstanceChangeHistoryMessage) bool {for _, history := range histories {- if history.Statement == statement {+ if history.Statement == statement && history.Status == dbdriver.Done {return true}}