Troubleshooting Flyway migration failures

The purpose of this section is to describe approaches and troubleshooting techniques for dealing with Flyway database upgrade failures. This section is mostly applicable to production or heavily modified development databases that no longer satisfy the assumptions made when database migrations were first created by WFM. It is important to note that a Flyway upgrade failure is an exception rather than the rule since Flyway integration into WFM is designed and continuously tested to make sure that in most cases Flyway upgrades will pass without any user interaction.