Skip to content
Snippets Groups Projects
Verified Commit 427449d0 authored by Jan-Niclas Strüwer's avatar Jan-Niclas Strüwer
Browse files

changed database initialization from create-drop to validate

parent 9d46de4e
Branches
Tags
No related merge requests found
Pipeline #27821 passed
......@@ -36,7 +36,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=validate
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
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment

Consent

On this website, we use the web analytics service Matomo to analyze and review the use of our website. Through the collected statistics, we can improve our offerings and make them more appealing for you. Here, you can decide whether to allow us to process your data and set corresponding cookies for these purposes, in addition to technically necessary cookies. Further information on data protection—especially regarding "cookies" and "Matomo"—can be found in our privacy policy. You can withdraw your consent at any time.