-2

How to configure Javers with Spring Boot 2.x and Postgresql such that javers tables are created in a specific schema (named dbo) rather than the default "public" schema of the database?

Cœur
  • 37,241
  • 25
  • 195
  • 267
Sunil Kosuri
  • 99
  • 1
  • 15
  • I tried it with the following Spring Boot application.properties config and the javers tables are still being created in the default "public" schema: spring.datasource.url=jdbc:postgresql://aafb2lf6edxu73.cjdfdq29dob4.us-east-1.rds.amazonaws.com:5432/PSSV2Db spring.datasource.username=pss spring.datasource.password=******** spring.datasource.driverClassName=org.postgresql.Driver spring.jpa.properties.hibernate.default_schema=dbo – Sunil Kosuri Jul 10 '18 at 00:26

1 Answers1

0

I have created the issue for that:

https://github.com/javers/javers/issues/690

Consider contributing a PR, it's really easy to implement this props.

Bartek Walacik
  • 3,386
  • 1
  • 9
  • 14