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:
Alexander Schwartz 2022-07-25 21:09:29 +02:00 committed by Hynek Mlnařík
parent 878e3e0cbc
commit 9a89560771

View file

@ -135,7 +135,7 @@ public final class Database {
"org.postgresql.Driver",
"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:}",
asList("liquibase.database.core.PostgresDatabase",
asList("liquibase.database.core.PostgresDatabase", "liquibase.database.core.CockroachDatabase",
"org.keycloak.connections.jpa.updater.liquibase.PostgresPlusDatabase"),
"postgres"
),