3 ms·
No need to ever manually edit the metadata table. That what Flyway's repair command is for. However if failed migrations are a big concern for you, do yourself
by axelfontaine 10y ago
No need to ever manually edit the metadata table. That what Flyway's repair command is for.
However if failed migrations are a big concern for you, do yourself a favor and consider moving to a database that offers proper DDL transactions like PostgreSQL, SQL Server or DB2. Flyway runs every migration inside a transaction and this way changes become truly atomic without any sneaky implicit commits (I'm looking at you Oracle and MySQL).