From 579650d38dffa67217418d147cc4f04f66e5fc26 Mon Sep 17 00:00:00 2001 From: Jan-Niclas Struewer <j.n.struewer@gmail.com> Date: Fri, 27 Oct 2023 14:35:09 +0200 Subject: [PATCH] test create setting for db creation --- src/main/resources/application-prod.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/application-prod.properties b/src/main/resources/application-prod.properties index 4e1982f7..4745c409 100644 --- a/src/main/resources/application-prod.properties +++ b/src/main/resources/application-prod.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=update +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