When i try to persist Camunda tables into Postgresql DB. I gave specific schema name (camunda) for creation but Camunda engine persist tables under Psql public schema.
Can anyone help for this how can I persist camunda to specific Schema under Postgre DB.
Here is the my application.yaml file
server:
port: 10101
servlet:
context-path: /camunda
datasource:
username: ${DB_USERNAME:postgres}
password: ${DB_PASSWORD:postgres}
url: jdbc:postgresql://${DB_HOST:localhost}:${DB_PORT:5432}/${DB_NAME:postgres}
jpa:
database-platform: org.hibernate.dialect.PostgreSQLDialect
hibernate:
ddl-auto: ${DDL_AUTO:update}
properties:
hibernate:
default_schema: ${DB_SCHEMA_NAME:camunda}
dialect: org.hibernate.dialect.PostgreSQLDialect
camunda:
bpm:
admin-user:
id: demo
password: demo
schema-name: camunda
table-prefix: camunda.
schema-update: true
database:
type: postgres
jpa:
enabled: true