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

API - Disable Recursive Search for Migration Scripts

Hello,

Is there any way using the API to disable recursive searches of sub-directories for migration files?

Thanks,
Preston
Preston
0

Comments

4 comments

  • DanC
    Hi @Preston

    I'm going to check with the team on this one, I'll let you know once I have any info!
    DanC
    0
  • Preston
    Thanks @DanC
    Preston
    0
  • DanC
    Hi @Preston

    Unfortunately, it's not possible to disable this behaviour, however, you can tell Flyway where to look though (using the Locations parameter, https://documentation.red-gate.com/flyway/flyway-cli-and-api/configuration/parameters/flyway/locations) so it would be possible to have a separate folder just containing the desired migrations
    DanC
    0
  • Preston
    Thanks for researching this, @DanC.  I have a workaround I can use, but just wanted to make sure the capability didn't already exist.
    Preston
    0

Add comment

Please sign in to leave a comment.