Skip to content

Commit a597a4b

Browse files
authored
Merge pull request #127 from SWU-Elixir/chore/115-cicd
chore: db 초기화를 위한 설정 변경
2 parents 0fb07e3 + 1c638e3 commit a597a4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/resources/application-prod.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
88
# JPA
99
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQLDialect
1010
spring.jpa.database-platform=org.hibernate.dialect.MySQLDialect
11-
spring.jpa.hibernate.ddl-auto=update
11+
spring.jpa.hibernate.ddl-auto=create
1212

1313
# JPA query log
1414
spring.jpa.properties.hibernate.show_sql=true
@@ -18,7 +18,7 @@ spring.jpa.properties.hibernate.use_sql_comments=true
1818

1919
# sql (always)
2020
spring.jpa.defer-datasource-initialization=true
21-
spring.sql.init.mode=never
21+
spring.sql.init.mode=always
2222

2323
# Swagger
2424
springdoc.api-docs.path=/api-docs

0 commit comments

Comments
 (0)