Skip to content

Commit

Permalink
[api-server-v1] update: 데이터베이스 초기화 옵션 끔
Browse files Browse the repository at this point in the history
  • Loading branch information
gdtknight committed Oct 5, 2023
1 parent 8678659 commit 0189000
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions api/server-v1/src/main/resources/application-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,20 @@ spring:
driver-class-name: ${DB_DRIVER}
jpa:
hibernate:
ddl-auto: create
ddl-auto: none
naming:
physical-strategy: org.hibernate.boot.model.naming.CamelCaseToUnderscoresNamingStrategy
properties:
hibernate:
format_sql: true
show_sql: true
show_sql: false
dialect: org.hibernate.dialect.MySQL8Dialect
defer-datasource-initialization: true
# defer-datasource-initialization: true
open-in-view: true
sql:
init:
mode: always
data-locations: classpath:test/data.sql
# sql:
# init:
# mode: always
# data-locations: classpath:test/data.sql

cloud:
aws:
Expand Down

0 comments on commit 0189000

Please sign in to comment.