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

H2 support removed by mistake? #2467

Closed
terje2001 opened this issue Aug 16, 2019 · 3 comments

Comments

@terje2001
Copy link

commented Aug 16, 2019

Which version and edition of Flyway are you using?

6.0.0

If this is not the latest version, can you reproduce the issue with the latest one as well?

n/a

Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)

Java API

Which database are you using (type & version)?

H2

Which operating system are you using?

Linux

What did you do?

Upgrade Flyway to 6.0.0

What did you expect to see?

No issues

What did you see instead?

Exception:
Caused by: org.flywaydb.core.api.FlywayException: Unsupported Database: H2
at org.flywaydb.core.internal.database.DatabaseFactory.createDatabase(DatabaseFactory.java:226) ~[flyway-core-6.0.0.jar:?]
at org.flywaydb.core.internal.database.DatabaseFactory.createDatabase(DatabaseFactory.java:107) ~[flyway-core-6.0.0.jar:?]
at org.flywaydb.core.Flyway.execute(Flyway.java:472) ~[flyway-core-6.0.0.jar:?]
at org.flywaydb.core.Flyway.clean(Flyway.java:285) ~[flyway-core-6.0.0.jar:?]

=> Think the commit f9bd09b removed H2 support in DatabaseFactory.java by mistake.

@terje2001 terje2001 changed the title H2 support removed H2 support removed by mistake? Aug 16, 2019

123Haynes added a commit to 123Haynes/flyway that referenced this issue Aug 17, 2019
Fixed flyway#2467: Restore H2 database support
This Commit restores the support for H2 which was accidentially
removed in
flyway@f9bd09b#diff-27056a4ea3c4eb4f1d78e57eac7598e8L151-L152
123Haynes added a commit to 123Haynes/flyway that referenced this issue Aug 17, 2019
Fixed flyway#2467: Restore H2 database support
This Commit restores the support for H2 which was accidentally
removed in
flyway@f9bd09b#diff-27056a4ea3c4eb4f1d78e57eac7598e8L151-L152
123Haynes added a commit to 123Haynes/flyway that referenced this issue Aug 17, 2019
Fixed flyway#2467: Restore H2 database support
This Commit restores the support for H2 which was accidentally
removed in
flyway@f9bd09b#diff-27056a4ea3c4eb4f1d78e57eac7598e8L151-L152

@juliahayward juliahayward added this to the Flyway 6.0.1 milestone Aug 19, 2019

@juliahayward juliahayward added r: fixed t: bug and removed r: fixed labels Aug 19, 2019

@juliahayward

This comment has been minimized.

Copy link
Member

commented Aug 19, 2019

A code fix is being pushed asap, and will go in a 6.0.1 release very soon.

juliahayward added a commit to flyway/flywaydb.org that referenced this issue Aug 19, 2019
@loicknuchel

This comment has been minimized.

Copy link

commented Aug 19, 2019

Thanks for the reply, any ETA for 6.0.1 ?
Thanks!

@juliahayward

This comment has been minimized.

Copy link
Member

commented Aug 20, 2019

We intend it to be Tuesday next week (Monday is a national holiday).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.