Skip to content

Commit

Permalink
feat: 기본 프로파일에서 DB를 MySQL을 H2로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
3Juhwan committed Jul 24, 2024
1 parent 8ed9900 commit 05a6963
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions server/src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
spring:
datasource:
url: jdbc:mysql://localhost:3306/haengdong
username: root
password: 1234
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:h2:mem:database
driver-class-name: org.h2.Driver
username: sa
password:

h2:
console:
enabled: true
path: /h2-console

jpa:
hibernate:
ddl-auto: none
properties:
hibernate:
dialect: org.hibernate.dialect.MySQL8Dialect
format_sql: true
format_sql: true
show-sql: true

cors:

0 comments on commit 05a6963

Please sign in to comment.