I am trying to integrate spring boot with postgres db. Everything works fine except that the tables are being created in the public schema even though I am specifying a particular schema in the application.properties
spring.datasource.schema=AngSpring
application.properties
spring.jpa.database=POSTGRESQL
spring.datasource.platform=postgres
spring.jpa.show-sql=true
spring.jpa.hibernate.ddl-auto=update
spring.database.driverClassName=org.postgresql.Driver
spring.datasource.url=jdbc:postgresql://localhost:5432/NGP_DB
spring.datasource.schema=AngSpring
spring.datasource.username=jdbcusr
spring.datasource.password=password
You can see in the postgres db screenshot that the task_list table is created under 'public' schema. According to the property file it should come under the 'AngSpring' schema.
Please correct me if Iam doing anything wrong in the code.