From 22db0f0576c010e4a051a5dff24514a9d0979bfb Mon Sep 17 00:00:00 2001 From: Richard Lopes Date: Sat, 6 Jan 2024 16:44:55 -0300 Subject: [PATCH] chore: add jdbc prefix do datasource url --- src/main/resources/application.properties | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index ecf4fa1..7d96365 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,5 +1,5 @@ spring.jpa.database=postgresql -spring.datasource.url=${DATASOURCE_URL} +spring.datasource.url=jdbc:${DATABASE_URL} spring.datasource.username=${POSTGRES_USER} spring.datasource.password=${POSTGRES_PASSWORD} spring.mvc.throw-exception-if-no-handler-found=true @@ -9,4 +9,3 @@ spring.jpa.generate-ddl=true spring.jpa.hibernate.ddl-auto=update spring.datasource.hikari.max-lifetime=30000 api.security.token.secret=${JWT_SECRET} -