Skip to content

Commit

Permalink
chore : db mysql 마이그레이션
Browse files Browse the repository at this point in the history
  • Loading branch information
jimi567 committed Oct 23, 2024
1 parent bd551e9 commit 471f8b5
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions backend/src/main/resources/application-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,10 @@ file:

spring:
datasource:
driver-class-name: org.h2.Driver
url: jdbc:h2:file:/home/ubuntu/h2_test_data;AUTO_SERVER=true
username: ${H2_CONSOLE_USERNAME}
password: ${H2_CONSOLE_PASSWORD}
h2:
console:
enabled: true
path: ${H2_CONSOLE_ENDPOINT}
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/friendogly?useSSL=false&serverTimezone=Asia/Seoul&characterEncoding=UTF-8
username: ${MYSQL_USER_NAME}
password: ${MYSQL_PASSWORD}
jpa:
hibernate:
ddl-auto: update
Expand Down

0 comments on commit 471f8b5

Please sign in to comment.