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

Downgrade h2 database to make play-scala-isolated-slick-example work #523

Merged

Conversation

mkurz
Copy link
Member

@mkurz mkurz commented Jan 16, 2024

Fixes

The problem is the flyway-sbt plugins comes with a very old flyway version which does not support h2 2.x yet... So when running flyway/flywayMigrate in sbt it uses that very old flyway version to generate the test.mv.db file, using H2 version 1.x (which the old flyway version depends on). However when starting run in sbt afterwards, the application now depends on H2 version 2.x which file format is not compatible anymore with its v1...

Hopefully this gets fixes soon:

@mkurz
Copy link
Member Author

mkurz commented Jan 16, 2024

@Mergifyio backport 2.9.x

Copy link
Contributor

mergify bot commented Jan 16, 2024

backport 2.9.x

✅ Backports have been created

@mkurz mkurz merged commit bc6ea6e into playframework:3.0.x Jan 16, 2024
12 checks passed
@mkurz mkurz deleted the fix-play-scala-isolated-slick-example branch January 16, 2024 00:55
mergify bot added a commit that referenced this pull request Jan 16, 2024
[2.9.x] Downgrade h2 database to make   play-scala-isolated-slick-example work (backport #523) by @mkurz
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.

1 participant