From afa350c0d735ee2776153565ce77144bbcbdfb33 Mon Sep 17 00:00:00 2001 From: sdikyarts Date: Wed, 15 May 2024 18:53:29 +0700 Subject: [PATCH] Fix database connection for the nth time --- src/main/resources/application-prod.properties | 2 +- src/main/resources/application-test.properties | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/application-prod.properties b/src/main/resources/application-prod.properties index 3aa22b5..976cec1 100644 --- a/src/main/resources/application-prod.properties +++ b/src/main/resources/application-prod.properties @@ -1,4 +1,4 @@ -spring.datasource.url=jdbc:postgresql://aws-0-ap-southeast-1.pooler.supabase.com:543?user=postgres.thnfvhxtvcbfxndlxdze&password=YouMakeStrayKidsStay +spring.datasource.url=jdbc:postgresql://aws-0-ap-southeast-1.pooler.supabase.com:5432?user=postgres.thnfvhxtvcbfxndlxdze&password=YouMakeStrayKidsStay spring.datasource.username=postgres.thnfvhxtvcbfxndlxdze spring.datasource.password=YouMakeStrayKidsStay spring.jpa.hibernate.ddl-auto=update diff --git a/src/main/resources/application-test.properties b/src/main/resources/application-test.properties index a834088..0a5230d 100644 --- a/src/main/resources/application-test.properties +++ b/src/main/resources/application-test.properties @@ -1,6 +1,6 @@ spring.datasource.url=jdbc:postgresql://postgres:5432/subscription-admin spring.datasource.username=postgres -spring.datasource.password=super +spring.datasource.password=postgres spring.jpa.hibernate.ddl-auto=create spring.jpa.show-sql=true spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect