-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support Flyway's defaultSchema configuration option
Originally reported at: https://stackoverflow.com/q/70744765/2504224
- Loading branch information
Showing
3 changed files
with
21 additions
and
1 deletion.
There are no files selected for viewing
4 changes: 3 additions & 1 deletion
4
extensions/flyway/deployment/src/test/resources/clean-at-start-config.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,12 +1,14 @@ | ||
quarkus.datasource.db-kind=h2 | ||
quarkus.datasource.username=sa | ||
quarkus.datasource.password=sa | ||
quarkus.datasource.jdbc.url=jdbc:h2:tcp://localhost/mem:test-quarkus-clean-at-start;DB_CLOSE_DELAY=-1; | ||
quarkus.datasource.jdbc.url=jdbc:h2:tcp://localhost/mem:test-quarkus-clean-at-start;DB_CLOSE_DELAY=-1;INIT=CREATE SCHEMA IF NOT EXISTS TEST | ||
|
||
# Flyway config properties | ||
quarkus.flyway.clean-at-start=true | ||
quarkus.flyway.migrate-at-start=false | ||
quarkus.flyway.table=test_flyway_history | ||
quarkus.flyway.default-schema=PUBLIC | ||
quarkus.flyway.schemas=TEST,PUBLIC | ||
quarkus.flyway.baseline-on-migrate=false | ||
quarkus.flyway.baseline-version=0.0.1 | ||
quarkus.flyway.baseline-description=Initial description for test |
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