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

Alternative to ignoreMissingMigrations, Clarification of ignoreMigrationPatterns

Dear all,

in Flyway 8 we were relying on the setting (in Maven)
<ignoreMissingMigrations>true</ignoreMissingMigrations>
According to the release notes here https://rd.gt/416ObMi the new alternative for this option is now "ignoreMigrationPatterns", which due to the documentation here https://documentation.red-gate.com/fd/ignore-migration-patterns-224919720.html is used as follows:
<ignoreMigrationPatterns><ignoreMigrationPattern>*:missing</ignoreMigrationPattern></ignoreMigrationPatterns>
The problem ist that this option does not seem to apply at all. Even worse, when I replace the pattern like
<ignoreMigrationPatterns><ignoreMigrationPattern>versioned:missing</ignoreMigrationPattern></ignoreMigrationPatterns>
I get the error message
Flyway Redgate Edition Required: ignoreMigrationPattern with type 'versioned' is not supported by OSS Edition
which seems to suggest that this option is no longer part of the community edition.
But that contradicts the documentation linked above.

Could somebody please clarify the situation?
csternagel
0

Comments

2 comments

  • Peter_Laws
    HiĀ csternagel,

    What version of flyway are you presently using please?
    I ask because 'versioned' and 'repeatable' migration patterns were made available for the open-source version in v10.12.0, if you're using an older version than that then the exception returned is accurate.
    (source)
    Peter_Laws
    0
  • csternagel
    Indeed. I was using v10.11.1. Thanks for the clarification!
    csternagel
    0

Add comment

Please sign in to leave a comment.