FlywayException: Found more than one migration with version when multiple locations named with the same roots #606
Comments
Sorry for the very late reply! Thanks you so much for submitting the bug report, doing the investigation and providing a fix! My apologies for not merging this sooner. P.S.: I've added you to the hall of fame page (flyway-3.0 branch until merged). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Flyway spring config:
In JarFileClassPathLocationScanner the line entryName.startsWith('migrations-nuclear-core') acts like migrations-nuclear-core* and adds the *.sql files in migrations-nuclear-core-data-dev and migrations-nuclear-core. The caller than iterates over the next location migrations-nuclear-core-data-dev and matches the same file found in the previous location.
Thanks for the hard work on Flyway !
below is patch for a possible fix.
The text was updated successfully, but these errors were encountered: