From 2bc7aad65fb09aedb018aedc0b9455f612b28d8d Mon Sep 17 00:00:00 2001 From: Alex Prudencio Date: Tue, 6 Aug 2024 23:19:47 -0400 Subject: [PATCH] add sql init config --- src/main/resources/application.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 7352467..d96230d 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -21,7 +21,7 @@ spring.mail.properties.mail.smtp.starttls.required=true # spring.datasource.url=jdbc:h2:file:./db spring.datasource.url=jdbc:h2:file:/var/opt/pfs/db spring.jpa.hibernate.ddl-auto=create-drop -spring.sql.init.mode=embedded +spring.sql.init.mode=${SQL_INIT:embedded} spring.datasource.driverClassName=org.h2.Driver spring.datasource.username=sa spring.datasource.password=${H2_PASS}