mirror of
https://github.com/Dannecron/spring-boot-demo.git
synced 2025-12-25 16:22:35 +03:00
fix db schema
This commit is contained in:
@@ -3,7 +3,7 @@ spring:
|
|||||||
application:
|
application:
|
||||||
name: Demo
|
name: Demo
|
||||||
datasource:
|
datasource:
|
||||||
url: jdbc:postgresql://localhost:5432/demo?currentSchema=demo
|
url: jdbc:postgresql://localhost:5432/demo?currentSchema=public
|
||||||
username: postgres
|
username: postgres
|
||||||
password: postgres
|
password: postgres
|
||||||
driver-class-name: org.postgresql.Driver
|
driver-class-name: org.postgresql.Driver
|
||||||
@@ -13,4 +13,4 @@ spring:
|
|||||||
enabled: true # enables flyway database migration
|
enabled: true # enables flyway database migration
|
||||||
locations: classpath:db/migration/structure, classpath:db/migration/data # the location where flyway should look for migration scripts
|
locations: classpath:db/migration/structure, classpath:db/migration/data # the location where flyway should look for migration scripts
|
||||||
validate-on-migrate: true
|
validate-on-migrate: true
|
||||||
default-schema: demo
|
default-schema: public
|
||||||
Reference in New Issue
Block a user