Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support ignoreMigrationPatterns config in Flyway #27099

Closed
gastaldi opened this issue Aug 2, 2022 · 5 comments · Fixed by #27181
Closed

Support ignoreMigrationPatterns config in Flyway #27099

gastaldi opened this issue Aug 2, 2022 · 5 comments · Fixed by #27181
Labels
area/flyway good first issue Good for newcomers kind/enhancement New feature or request
Milestone

Comments

@gastaldi
Copy link
Contributor

gastaldi commented Aug 2, 2022

Description

As requested in #27096 (comment), 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

@gastaldi gastaldi added kind/enhancement New feature or request good first issue Good for newcomers area/flyway labels Aug 2, 2022
@quarkus-bot
Copy link

quarkus-bot bot commented Aug 2, 2022

/cc @cristhiank, @geoand, @gsmet

@geoand
Copy link
Contributor

geoand commented Aug 3, 2022

Seems reasonable to me.

@gsmet
Copy link
Member

gsmet commented Aug 3, 2022

@tmihalac might be a good one for you.

@tmihalac
Copy link
Contributor

tmihalac commented Aug 8, 2022

@tmihalac might be a good one for you.

Working on it

@tmihalac
Copy link
Contributor

tmihalac commented Aug 8, 2022

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/flyway good first issue Good for newcomers kind/enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants