Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Updates Flyway version from 4.2 (necessary upgrade step that migrates Flyway schema history table in Oskari 1.56.0) to latest 6.5.5. This requires a manual update for the Flyway migrations API on any application specific Flyway-modules as follows:
From Oskari 1.56:
To Oskari 2.0:
Any new install will have Flyway baselined at 2.0.0 having migrations 2.0.1-2.0.3 to populate the database and any existing install will have the baseline at 2.0.4 which makes Flyway skip the table creation/initial bundles/data population.
Note! All 1.x migrations have been removed from the core module. If you are trying to update from Oskari version that is NOT 1.56 Flyway migrations will fail with multiple messages about "referenced migrations that are unavailable". Please update your application to Oskari 1.56.0 first (just starting the application migrates the db) and update to 2.0 only from 1.56.
Note! You might need to update the existing migration checksums for additional modules by enabling autorepair on oskari-ext.properties with
db.flyway.autorepair=true
. This is due to Flyway checksum calculation has been updated in the more recent version.