From 315409dd29cdf67d480486ab964aff7ca94ecab0 Mon Sep 17 00:00:00 2001 From: Alex Prudencio Date: Tue, 6 Aug 2024 23:33:08 -0400 Subject: [PATCH] ddl update --- 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 d96230d..f468332 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -20,7 +20,7 @@ spring.mail.properties.mail.smtp.starttls.required=true # spring.datasource.url=jdbc:h2:mem:testdb # 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.jpa.hibernate.ddl-auto=update spring.sql.init.mode=${SQL_INIT:embedded} spring.datasource.driverClassName=org.h2.Driver spring.datasource.username=sa