From 1462aea12597e4de9fd7f87fdb5554ffd921a441 Mon Sep 17 00:00:00 2001 From: Jan-Niclas Struewer <j.n.struewer@gmail.com> Date: Tue, 24 Oct 2023 16:11:01 +0200 Subject: [PATCH] Switching ddl-auto to create from create-drop --- 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 b0bf835a..c406f4d9 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -30,7 +30,7 @@ spring.main.web-application-type=REACTIVE spring.jpa.generate-ddl=true spring.jpa.show-sql=false # This setting should only be used in dev. In prod we want to switch to update -spring.jpa.hibernate.ddl-auto=create-drop +spring.jpa.hibernate.ddl-auto=create spring.jpa.properties.hibernate.format_sql=true spring.jpa.properties.hibernate.enable_lazy_load_no_trans=true spring.jpa.properties.hibernate.bytecode.use_reflection_optimizer=false -- GitLab