Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

R Bump flyway fra 10.1.0 til 10.2.0 for å støtte høyere versjon av Postgres #118

Merged
merged 4 commits into from
Dec 11, 2023

Conversation

richardmartinsen
Copy link
Contributor

@richardmartinsen richardmartinsen commented Dec 11, 2023

Beskrivelse

Flyway er bumpet fra 10.1.0 til 10.2.0 og HikariCp til 5.1.0

Kommentarer

Vi får denne meldingen ved kjøring av flyway : "Uncaught exception in thread main: Unsupported Database: PostgreSQL 14.9"
Bumper versjonen til en nyere for å se om det hjelper

@richardmartinsen richardmartinsen requested a review from a team as a code owner December 11, 2023 18:44
@richardmartinsen
Copy link
Contributor Author

@haagenhasle
Copy link
Contributor

I flyway 10 må man endre til database-spesifikke dependencies. Ref flyway/flyway#3780
Så jeg ville prøvd med

    implementation("org.flywaydb:flyway-database-postgresql:10.2.0")
    implementation("com.zaxxer:HikariCP:5.1.0")

Copy link
Contributor

@haagenhasle haagenhasle left a comment

Choose a reason for hiding this comment

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

Se tidligere kommentar

Copy link
Contributor Author

@richardmartinsen richardmartinsen left a comment

Choose a reason for hiding this comment

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

Fikset

@richardmartinsen richardmartinsen merged commit 5bc3c5d into main Dec 11, 2023
7 checks passed
@richardmartinsen richardmartinsen deleted the BumpPostgres branch December 11, 2023 19:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants