Skip to content

Commit

Permalink
더미 데이터 관련 수정 (#24)
Browse files Browse the repository at this point in the history
- 더미 데이터 삽입 코드 삭제
- prod / dev 환경 별 JPA ddl-auto 옵션 유동적으로 조정하도록 수정
- application name 추가
  • Loading branch information
ysw789 authored Sep 7, 2024
1 parent 1b51e30 commit 9ca1eba
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 199 deletions.
150 changes: 0 additions & 150 deletions src/main/java/com/dongyang/dongpo/TestDataInit/MemberDataInit.java

This file was deleted.

46 changes: 0 additions & 46 deletions src/main/java/com/dongyang/dongpo/admin/AdminDataInitializer.java

This file was deleted.

4 changes: 1 addition & 3 deletions src/main/resources/application-credentials.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# S3
cloud:
aws:
s3:
Expand All @@ -13,7 +12,6 @@ cloud:
stack:
auto: false

# 테스트 DB
spring:
datasource: # mysql
driver-class-name: com.mysql.cj.jdbc.Driver
Expand All @@ -22,7 +20,7 @@ spring:
password: ${DB_PASSWORD}
jpa:
hibernate:
ddl-auto: create
ddl-auto: ${DB_DDL}
data: # redis
redis:
host: ${REDIS_HOST}
Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ spring:
thymeleaf:
prefix: classpath:/templates/
suffix: .html
application:
name: dongpo-app

springdoc:
swagger-ui:
Expand Down

0 comments on commit 9ca1eba

Please sign in to comment.