Liquibase should differentiate between CockroachDB and PostgreSQL despite them same driver
Only this way the different SQL script for CockroachDB and PostgreSQL will work as expected on Quarkus. Closes #13317
This commit is contained in:
parent
878e3e0cbc
commit
9a89560771
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ public final class Database {
|
||||||
"org.postgresql.Driver",
|
"org.postgresql.Driver",
|
||||||
"io.quarkus.hibernate.orm.runtime.dialect.QuarkusPostgreSQL10Dialect",
|
"io.quarkus.hibernate.orm.runtime.dialect.QuarkusPostgreSQL10Dialect",
|
||||||
"jdbc:postgresql://${kc.db-url-host:localhost}:${kc.db-url-port:5432}/${kc.db-url-database:keycloak}${kc.db-url-properties:}",
|
"jdbc:postgresql://${kc.db-url-host:localhost}:${kc.db-url-port:5432}/${kc.db-url-database:keycloak}${kc.db-url-properties:}",
|
||||||
asList("liquibase.database.core.PostgresDatabase",
|
asList("liquibase.database.core.PostgresDatabase", "liquibase.database.core.CockroachDatabase",
|
||||||
"org.keycloak.connections.jpa.updater.liquibase.PostgresPlusDatabase"),
|
"org.keycloak.connections.jpa.updater.liquibase.PostgresPlusDatabase"),
|
||||||
"postgres"
|
"postgres"
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in a new issue