fix db schema

This commit is contained in:
Denis Savosin
2024-09-25 16:54:01 +07:00
parent 9b975b0aeb
commit 61e5e7cea6

View File

@@ -3,7 +3,7 @@ spring:
application:
name: Demo
datasource:
url: jdbc:postgresql://localhost:5432/demo?currentSchema=demo
url: jdbc:postgresql://localhost:5432/demo?currentSchema=public
username: postgres
password: postgres
driver-class-name: org.postgresql.Driver
@@ -13,4 +13,4 @@ spring:
enabled: true # enables flyway database migration
locations: classpath:db/migration/structure, classpath:db/migration/data # the location where flyway should look for migration scripts
validate-on-migrate: true
default-schema: demo
default-schema: public