From 61e5e7cea6c831e590ee658ec7691f200e0a399c Mon Sep 17 00:00:00 2001 From: Denis Savosin Date: Wed, 25 Sep 2024 16:54:01 +0700 Subject: [PATCH] fix db schema --- src/main/resources/application.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 5a3a9d8..e44291e 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -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 \ No newline at end of file + default-schema: public \ No newline at end of file