Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GVT-2188 Bump Flyway version #857

Merged
merged 1 commit into from
Nov 13, 2023
Merged

GVT-2188 Bump Flyway version #857

merged 1 commit into from
Nov 13, 2023

Conversation

arirahikkala
Copy link
Contributor

Flywaystä on julkaistu uudempikin versio 10.0.0, mutta se ei toimi Spring Bootin nykyversion kanssa: spring-projects/spring-boot#38164 . Jätin tavallisuudesta poiketen tätä varten valmiiksi kommentoitua koodia olemaan, koska muuten seuraavan versiopäivityksen tekijä törmäisi taatusti taas sitten siihen, että kymppiversiossa Flywayn tietokanta-ajurit on eroteltu omikse paketeikseen.

Varsinaista versiopäivitystä varten ei tarvinnut muuta muutosta kuin siirtää before- ja after-migraatiot beforeEachMigrate- ja afterEachMigrateksi, nämä (toisin kuin before ja after) kun ajetaan samassa transaktiossa kuin varsinaiset migraatiot: https://github.com/flyway/flyway/blob/main/flyway-core/src/main/java/org/flywaydb/core/api/callback/Event.java

Copy link
Contributor

@juuseko juuseko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@arirahikkala arirahikkala merged commit 6a4fd37 into main Nov 13, 2023
3 of 4 checks passed
@arirahikkala arirahikkala deleted the dev/GVT-2188 branch November 13, 2023 09:19
Copy link
Contributor

@jyrkija jyrkija left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants