quarkus
quarkus copied to clipboard
Support `ignoreMigrationPatterns` config in Flyway
Description
As requested in https://github.com/quarkusio/quarkus/pull/27096#discussion_r936069360, Flyway supports configuring certain patterns to ignore migrations during validate and repair. It would be nice to be able to specify that in the Flyway Config.
More info: https://flywaydb.org/documentation/configuration/parameters/ignoreMigrationPatterns
Implementation ideas
Include a quarkus.flyway.ignore-migration-patterns
in the FlywayDataSourceRuntimeConfig and create a test for it.
See c31af2a
(#27096) for an example
/cc @cristhiank, @geoand, @gsmet
Seems reasonable to me.
@tmihalac might be a good one for you.
@tmihalac might be a good one for you.
Working on it
@gsmet @gastaldi I just want to point out that if you look at the documentation you pointed out to: https://flywaydb.org/documentation/configuration/parameters/ignoreMigrationPatterns
You can see that repeatable
and versioned
migration types are supported only by the flyway teams
product but we are dependent on the community version.