-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
30 additions
and
14 deletions.
There are no files selected for viewing
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,10 @@ | ||
### 변경사항 | ||
<!-- 이 PR에서 어떤점들이 변경되었는지 기술해주세요. 가급적이면 as-is, to-be를 활용해서 작성해주세요. --> | ||
**AS-IS** | ||
|
||
**TO-BE** | ||
|
||
### 테스트 | ||
<!-- 본 변경사항이 테스트가 되었는지 기술해주세요 --> | ||
- [ ] 테스트 코드 | ||
- [ ] API 테스트 |
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,3 @@ | ||
DB_HOST: jdbc:mysql://localhost:3306/workduo?autoReconnect=true&allowPublicKeyRetrieval=true | ||
DB_NAME: workduo1 | ||
DB_PASSWORD: workduo1 |
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 |
---|---|---|
@@ -1,28 +1,31 @@ | ||
spring: | ||
profiles: | ||
# local 세팅 입니다. 추후 prod 타입일경우 active : prod 변경 필요 | ||
# application-prod.properties | ||
active: dev | ||
|
||
# datasource: | ||
# url: jdbc:h2:mem:test | ||
# username: sa | ||
# password: | ||
# driver-class-name: org.h2.Driver | ||
datasource: | ||
url: jdbc:mysql://localhost:3306/workduo?autoReconnect=true&allowPublicKeyRetrieval=true | ||
driver-class-name: com.mysql.cj.jdbc.Driver | ||
username: workduo1 | ||
password: workduo1! | ||
|
||
# h2: | ||
# console: | ||
# enabled: true | ||
url: ${DB_HOST} | ||
username: ${DB_NAME} | ||
password: ${DB_PASSWORD} | ||
|
||
jpa: | ||
hibernate: | ||
open-in-view: false | ||
properties: | ||
hibernate: | ||
format_sql: true | ||
default_batch_fetch_size: 1000 | ||
dialect: org.hibernate.dialect.MySQL57InnoDBDialect | ||
|
||
# h2 DB Setting for local | ||
# h2: | ||
# console: | ||
# enabled: true | ||
# | ||
# datasource: | ||
# url: jdbc:h2:mem:test | ||
# username: sa | ||
# password: | ||
# driver-class-name: org.h2.Driver | ||
logging.level: | ||
org.hibernate.SQL: debug |