How to squash/merge migrations in flyway
06:08 26 Aug 2014

Let's say I have migrations script from V1_1 to V1_300 - it is quite a huge number and takes very long period of time. But from time to time there is a release - can I, from the point of flyway, somehow merge all those migrations so:

  • All migrations from V1_1 to V1_300 will be in one file (for instance: V2_1)
  • Amount of time taken by these migrations will drop

Checking for overlaps manually is really time-consuming. Thank you in advance for your answers.

oracle-database flyway