File tree Expand file tree Collapse file tree 1 file changed +11
-23
lines changed
Expand file tree Collapse file tree 1 file changed +11
-23
lines changed Original file line number Diff line number Diff line change 11spring :
2- jpa :
3- hibernate :
4- ddl-auto : update
5- properties :
6- hibernate :
7- default_batch_fetch_size : 100
8- # format_sql: true
9- show_sql : true
10-
112 datasource :
123 driver-class-name : com.mysql.cj.jdbc.Driver
134 url : jdbc:mysql://${DATABASE_HOST:localhost}:${DATABASE_PORT:3306}/${DATABASE_NAME:taskflow}?characterEncoding=UTF-8&serverTimezone=Asia/Seoul&autoReconnect=true
145 username : ${DATABASE_USERNAME}
156 password : ${DATABASE_PASSWORD}
16- data-source-properties :
17- rewrite-batched-statements : true
187
198---
209spring.config.activate.on-profile : local
@@ -29,11 +18,12 @@ spring:
2918 open-in-view : false
3019 generate-ddl : false
3120 hibernate :
32- ddl-auto : none
33- show-sql : true
21+ ddl-auto : validate
3422 properties :
3523 hibernate :
36- dialect : org.hibernate.dialect.MySQLDialect
24+ default_batch_fetch_size : 100
25+ format_sql : true
26+ show_sql : true
3727
3828logging :
3929 level :
@@ -57,11 +47,10 @@ spring:
5747 generate-ddl : false
5848 hibernate :
5949 ddl-auto : validate
60- show-sql : true
6150 properties :
6251 hibernate :
63- dialect : org.hibernate.dialect.MySQLDialect
64-
52+ format_sql : false
53+ show_sql : true
6554 flyway :
6655 enabled : true
6756 baseline-on-migrate : true
@@ -76,13 +65,12 @@ spring:
7665 open-in-view : false
7766 generate-ddl : false
7867 hibernate :
79- ddl-auto : none
80- show-sql : true
68+ ddl-auto : validate
8169 properties :
8270 hibernate :
83- dialect : org.hibernate.dialect.MySQLDialect
84-
71+ format_sql : false
72+ show_sql : false
8573 flyway :
8674 enabled : false
87- baseline-on-migrate : true
88- locations : classpath:db/migration/prod
75+ baseline-on-migrate : false
76+ locations : classpath:db/migration/prod
You can’t perform that action at this time.
0 commit comments