forked from quarkusio/quarkus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Document how to use Flyway in reactive applications
- Loading branch information
Showing
6 changed files
with
62 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 4 additions & 10 deletions
14
...on-tests/hibernate-reactive-mysql-agroal-flyway/src/main/resources/application.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,15 @@ | ||
# Reactive datasource config | ||
# Reactive+JDBC datasource config | ||
quarkus.datasource.db-kind=mysql | ||
quarkus.datasource.username=hibernate_orm_test | ||
quarkus.datasource.password=hibernate_orm_test | ||
quarkus.datasource.reactive.url=${reactive-mysql.url} | ||
|
||
# Blocking datasource config | ||
quarkus.datasource.blocking.db-kind=mysql | ||
quarkus.datasource.blocking.username=hibernate_orm_test | ||
quarkus.datasource.blocking.password=hibernate_orm_test | ||
quarkus.datasource.blocking.jdbc.url=${mysql.jdbc.url} | ||
quarkus.datasource.blocking.jdbc=true | ||
quarkus.datasource.blocking.jdbc.max-size=1 | ||
quarkus.datasource.jdbc.url=${mysql.jdbc.url} | ||
quarkus.datasource.jdbc.max-size=1 | ||
|
||
# Hibernate config | ||
#quarkus.hibernate-orm.log.sql=true | ||
# We'll use Flyway | ||
quarkus.hibernate-orm.database.generation=none | ||
|
||
# Check that one can use Flyway alongside Hibernate Reactive | ||
quarkus.flyway.blocking.migrate-at-start=true | ||
quarkus.flyway.migrate-at-start=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters