Skip to content
This repository has been archived by the owner on Aug 13, 2022. It is now read-only.

Commit

Permalink
[#1]chore: properties 설정 불필요한 값 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
Hosick committed Jan 18, 2021
1 parent fba1ef2 commit 3418890
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 10 deletions.
6 changes: 3 additions & 3 deletions src/main/java/com/flab/shoeauction/Application.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
@SpringBootApplication
public class Application {

public static void main(String[] args) {
SpringApplication.run(Application.class, args);
}
public static void main(String[] args) {
SpringApplication.run(Application.class, args);
}
}
1 change: 0 additions & 1 deletion src/main/resources/application-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# org.hibernate.type : ?로 표시된 쿼리 파라미터 값을 로그로 출력
# ddl-auto (validate) : 엔티티와 테이블이 정상적으로 매핑되었는지만 확인한다. (테스트단계와 스테이징 서버에서 사용)
spring:
profiles: dev
jpa:
hibernate:
ddl-auto: validate
Expand Down
1 change: 0 additions & 1 deletion src/main/resources/application-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# org.hibernate.type : ?로 표시된 쿼리 파라미터 값을 로그로 출력
# ddl-auto (create) : 개발 초기 환경에서 사용. 애플리케이션 로딩 시점에 모든 테이블을 drop 후 새로 생성, 애플리케이션 서버 종료 후에도 DB 보존 (개발 초기단계에 사용)
spring:
profiles: local
datasource:
url: jdbc:h2:tcp://localhost/~/shoeactions
username: sa
Expand Down
4 changes: 1 addition & 3 deletions src/main/resources/application-prod.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
# prod profile에 적용되는 properties
# 운영 서버에서는 ddl-auto 옵션을 사용하지 않는다.
spring:
profiles: prod
# 운영 서버에서는 ddl-auto 옵션을 사용하지 않는다.
3 changes: 1 addition & 2 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# profile을 타지않는 전역 설정
# format_sql : query의 출력 내용을 서식에 맞게 가독성을 향상시켜 출력

# format_sql : query의 출력 내용을 서식에 맞게 가독성을 향상시켜 출
spring:
jpa:
properties:
Expand Down

0 comments on commit 3418890

Please sign in to comment.