From d0ed9f5dc5a1b6fd510aea8e1777ad6ce2c900b6 Mon Sep 17 00:00:00 2001 From: Aayush Agnihotri Date: Thu, 7 Nov 2024 18:35:19 -0500 Subject: [PATCH] Fixing data init --- src/main/resources/application.properties.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/application.properties.template b/src/main/resources/application.properties.template index 6ad5f4d..2a0562d 100644 --- a/src/main/resources/application.properties.template +++ b/src/main/resources/application.properties.template @@ -1,7 +1,7 @@ spring.datasource.url=jdbc:mysql://localhost:3306/all_in spring.datasource.username= spring.datasource.password= -spring.jpa.hibernate.ddl-auto=create-drop +spring.jpa.hibernate.ddl-auto=update spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver spring.jpa.show-sql=true