From 135190530beb747194de6497102f4e6f9f12928a Mon Sep 17 00:00:00 2001 From: vladimir-shperling Date: Fri, 22 Nov 2024 14:25:12 +0700 Subject: [PATCH] Update template and add liquibase --- src/main/resources/application.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index c6bfd72..3cbb66b 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -9,20 +9,21 @@ spring: enabled: true jpa: - #generate-ddl: false - generate-ddl: true + generate-ddl: false + #generate-ddl: true hibernate: - #ddl-auto: none - ddl-auto: create-drop + ddl-auto: none + #ddl-auto: create-drop # Показываем запросы show-sql: true - # Своевременный запуск data.sql - defer-datasource-initialization: true - spring-doc: swagger-ui: path: /swagger-ui.html - operationsSorter: method \ No newline at end of file + operationsSorter: method + + liquibase: + enabled: true + change-log: classpath:db.changelog/db.changelog-master.xml \ No newline at end of file