Comments
2 comments
-
There isn't a specific ignore option - and locations will scan recursively.
You might be able to craft a suitable list of locations using some of the wildcards supported in locations: https://documentation.red-gate.com/fd/Flyway-Locations-Setting-277579008.html
Otherwise, modifying the folder structure will likely be the best option
-
I’ve run into the same limitation. Since -locations scans everything recursively, the only real workaround I’ve found is either restructuring the folders or being very specific with your location paths using wildcards. Not ideal, but it helps avoid including stuff you don’t want Flyway to process.
Add comment
Please sign in to leave a comment.
Hello,
Is there an option for skipping subfolders under the path of the -locations flag ?
Thank you,
Ben