We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0fb07e3 + 1c638e3 commit a597a4bCopy full SHA for a597a4b
src/main/resources/application-prod.properties
@@ -8,7 +8,7 @@ spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
8
# JPA
9
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQLDialect
10
spring.jpa.database-platform=org.hibernate.dialect.MySQLDialect
11
-spring.jpa.hibernate.ddl-auto=update
+spring.jpa.hibernate.ddl-auto=create
12
13
# JPA query log
14
spring.jpa.properties.hibernate.show_sql=true
@@ -18,7 +18,7 @@ spring.jpa.properties.hibernate.use_sql_comments=true
18
19
# sql (always)
20
spring.jpa.defer-datasource-initialization=true
21
-spring.sql.init.mode=never
+spring.sql.init.mode=always
22
23
# Swagger
24
springdoc.api-docs.path=/api-docs
0 commit comments