Reputation: 425
I am checking the Quarkus guide for the flyway extension.
The default schema configuration is not listed and is not supported. I added in my application.properties
quarkus.flyway.default-schema=some_schema
quarkus.flyway.defaultSchema=some_schema
and tested, but it's not recognised. Is there a workaround or should an issue be created?
Upvotes: 3
Views: 1097
Reputation: 565
For quarkus version 3 you have to specify flyway and jdbc data source schema separatly.
quarkus.flyway.default-schema=<schema_name>
quarkus.datasource.jdbc.url=jdbc:postgresql://<server>:<port>/<DB_name>?currentSchema=<schema_name>
Upvotes: 0
Reputation: 1740
got defaulted to
quarkus.flyway.default-schema=some_schema
just in case anyone is seeing this now
Upvotes: 1
Reputation: 64011
I have opened https://github.com/quarkusio/quarkus/pull/22957 to address this concern.
If all goes well, this will make it into version 2.7.0.Final
.
Upvotes: 2