You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry thought I'd made a mistake because I also had JPA creating some tables as well so closed the issue, but after re-testing this does seem to be an issue.
josephearl
changed the title
Adding a quarkusDev dependency on quarkus-flyway does run migrations on start
Adding a quarkusDev dependency on quarkus-flyway does not run migrations on start
Dec 1, 2021
Describe the bug
Add a dependency
quarkusDev 'io.quarkus:quarkus-flyway'
to build.gradle and setquarkus.flyway.migrate-on-start
to true in application properties.Start the application with
./gradlew quarkusDev
.Expected behavior
Migrations are performed when the application starts in dev mode.
Actual behavior
The migrations are not performed.
Replacing the
quarkusDev
dependency with animplementation
dependency works and the migrations are performed.How to Reproduce?
No response
Output of
uname -a
orver
Darwin 20.6.0 Darwin Kernel Version 20.6.0: Tue Oct 12 18:33:42 PDT 2021; root:xnu-7195.141.8~1/RELEASE_X86_64 x86_64
Output of
java -version
openjdk version "11.0.8" 2020-07-14 OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.8+10) OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.8+10, mixed mode)
GraalVM version (if different from Java)
No response
Quarkus version or git rev
2.5.0.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)Gradle 7.3
Additional information
No response
The text was updated successfully, but these errors were encountered: