Flyway author here. Rollback is an illusion once your transaction has been committed. At best you can attempt to issue a compensating transaction to undo some of the effects. More details: <a href="https:&#x2F;&#x2F;flywaydb.org&#x2F;documentation&#x2F;faq.html#downgrade" rel="nofollow">https:&#x2F;&#x2F;flywaydb.org&#x2F;documentation&#x2F;faq.html#downgrade</a>