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?
Tagged:

Best Answer

  • Peter_LawsPeter_Laws Posts: 289 Silver 2
    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)
    Kind regards
    Peter Laws | Redgate Software
    Have you visited our Help Center?

Answers

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file