-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* test: test용 mysql 분리 * refactor: 테스트용 db가 분리됨에 따라 패키지 구조 변경 * refactor: 테스트용 db가 분리됨에 따라 패키지 구조 변경 * refactor: 개발 db와 테스트 db의 mysql관련 파일 패키지 분리
- Loading branch information
Showing
4 changed files
with
39 additions
and
29 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
spring: | ||
config: | ||
activate: | ||
on-profile: test | ||
datasource: | ||
url: ${DOCKER_MYSQL_TEST_URL} | ||
username: ${DOCKER_MYSQL_TEST_USERNAME} | ||
password: ${DOCKER_MYSQL_TEST_PASSWORD} | ||
driver-class-name: com.mysql.cj.jdbc.Driver | ||
jpa: | ||
properties: | ||
hibernate: | ||
format_sql: false | ||
show_sql: true | ||
hibernate: | ||
ddl-auto: create-drop # 테스트용 db는 매 실행마다 초기화 되어야함 |