From c74ef7d97df6d123d8df4091d4853da4ad070ce3 Mon Sep 17 00:00:00 2001 From: Ng Heng Khai Date: Wed, 1 May 2024 21:53:35 +0800 Subject: [PATCH] Update application.properties Updated to use the Render hosted PostgreSQL (90 day validity). --- src/main/resources/application.properties | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 075bbc8..879890a 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -6,10 +6,13 @@ server.port=9090 # Database Configuration. # PostgreSQL. -spring.datasource.url=jdbc:postgresql://localhost:5432/the_review_room +# spring.datasource.url=jdbc:postgresql://localhost:5432/the_review_room +# spring.datasource.url=postgres://thereviewroom:pDQShsRlKEuO9U5A0pEhSDpYi97deJnC@dpg-cop4fvgl5elc739f440g-a.singapore-postgres.render.com/the_review_room +spring.datasource.url=postgres://thereviewroom:pDQShsRlKEuO9U5A0pEhSDpYi97deJnC@dpg-cop4fvgl5elc739f440g-a/the_review_room # For WSL, use postgres. # For Mac, use your Mac username. -spring.datasource.username=postgres +# spring.datasource.username=postgres +spring.datasource.username=thereviewroom # Password can be blank if we set it to trust in pg_hba.conf. spring.datasource.password=