How can we help you today? How can we help you today?

Skipping subfolder of the -locations flag

Hello,

Is there an option for skipping subfolders under the path of the -locations flag ?

 

Thank you,

 

Ben

Ben
0

Comments

2 comments

  • Piers Williams

    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

    Piers Williams
    0
  • graded

    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.

    graded
    0

Add comment

Please sign in to leave a comment.