MySQL doesn't support schema changes, inside a transaction so there's no way to roll back after during a failed migration involving schema changes.

This capability is supported by Postgres and SQLite. Any chance MariaDB supports it?



"DDL statements (CREATE, ALTER, DROP) [...] cause an implicit COMMIT"

Thanks horse with no name.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.