Flyway versioned undo scripts vs. repeatable migrations for zero-downtime rollback
Rollback strategy for zero-downtime deployments Our team uses Flyway 10.x with PostgreSQL 15 in a blue-green deployment pipeline. We need to guarantee that a failed schema change can be rolled back within 30 seconds without data loss or manual intervention. The current baseline uses versioned migrations (V1__..., V2__...) with manually written undo scripts (