Alternative to ignoreMissingMigrations, Clarification of ignoreMigrationPatterns
csternagel
Posts: 5 New member
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.
But that contradicts the documentation linked above.
Could somebody please clarify the situation?
Tagged:
Best Answer
-
Peter_Laws Posts: 278 Silver 2Hi 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)
Answers