RED-6075 Added schema parameter to jdbc URL config

This commit is contained in:
Kresnadi Budisantoso 2023-01-25 17:24:06 +01:00
parent 684cec4ed3
commit ce79cf8940

View File

@ -84,7 +84,7 @@ multitenancy:
expireAfterAccess: 1 expireAfterAccess: 1
master: master:
datasource: datasource:
url: jdbc:postgresql://${PSQL_HOST:localhost}:${PSQL_PORT:5432}/${PSQL_DATABASE:master}?cachePrepStmts=true&useServerPrepStmts=true&rewriteBatchedStatements=true url: jdbc:postgresql://${PSQL_HOST:localhost}:${PSQL_PORT:5432}/${PSQL_DATABASE:master}?currentSchema=${PSQL_SCHEMA:public}&cachePrepStmts=true&useServerPrepStmts=true&rewriteBatchedStatements=true
driverClassName: org.postgresql.Driver driverClassName: org.postgresql.Driver
username: ${PSQL_USERNAME:redaction} username: ${PSQL_USERNAME:redaction}
password: ${PSQL_PASSWORD:redaction} password: ${PSQL_PASSWORD:redaction}
@ -105,4 +105,4 @@ multitenancy:
prepStmtCacheSize: 1000 prepStmtCacheSize: 1000
prepStmtCacheSqlLimit: 2048 prepStmtCacheSqlLimit: 2048
liquibase: liquibase:
changeLog: classpath:db/changelog/db.changelog-tenant.yaml changeLog: classpath:db/changelog/db.changelog-tenant.yaml