question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Flyway V8 Community Edition and `ignoreMissingMigrations`

See original GitHub issue

Hello and thank you for this wonderful project! Sorry for not following the issue template, but my question is pretty short.

The ignoreMissingMigrations configuration is deprecated in 8.0.0 and will be removed in the next major version. It is recommended to switch to ignoreMigrationPatterns. But doing so results in runtime errors stating that ignoreMigrationPatterns config requires the Teams subscription! I would like to clarify if it is really planned that a paid subscription will soon be required just to have the ability to skip missing migrations?

This functionality is pretty basic and it is required in order to have an opportunity to quickly rollback application deployments (if migrations are backward-compatible).

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
DoodleBobBuffPantscommented, Jul 1, 2022

@johnou When migrations are marked DELETE their success value is kept the same, however we treat deleted migrations as if the change they were making was also removed from the DB, which is why they appear as PENDING when they are restored, and is why they are applied again

1reaction
johnoucommented, Nov 8, 2021

it does however repair now invokes deleteMissingMigrations which I’d like to avoid, we’ve had a few situations where we’d have to correct a migration that has already been applied to test / staging environment but at the same time retain missing migrations in the history table.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Release Notes - Flyway by Redgate • Database Migrations ...
Changes. Code analysis is now available in Community Edition ... Flyway V8 introduced breaking changes incrementally over 3 beta releases.
Read more >
Why does Flyway ignoreMissingMigrations is not taken into ...
The problem comes from a special setup that Flyway is unable to handle correctly. We have no newer applied migration, thus Flyway see...
Read more >
Flyway Teams 8.x - ComponentSource
Features. The 'version' command now has JSON output. Fixes. Fixed relative locations not being relative to the working directory. When using the delimiter ......
Read more >
Deprecated List (flyway-core 8.5.4 API) - Javadoc.io
The schema history table indicates that a migration to version 4.0 (unknown to us) has ... Ignore missing migrations when reading the schema...
Read more >
API - FlywayConfiguration.IgnoreMissingMigrations Property
Flyway. Summary. Ignore missing migrations when reading the metadata table. (default: false). These are migrations that were performed by an older ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found