Reputation: 4643
In Flyway is there any way to mark certain scripts for inclusion or exclusion? What I am looking for is something similar to Liquibase's 'contexts' feature, or Dbmaintains 'qualifiers'. My primary use case is the test one that is outlined on the Liquibase site, a 'test' context where only scripts that are related to test data will run.
Upvotes: 2
Views: 2639
Reputation: 35169
Yes. Put those test scripts in a second folder, and selectively configure flyway.locations
to include it.
Upvotes: 4