#16 board : heroku settings

This commit is contained in:
haerong22
2022-08-26 03:27:49 +09:00
parent e1b93ae610
commit bf1954cfa5
4 changed files with 22 additions and 2 deletions

View File

@@ -40,4 +40,14 @@ spring:
# url: jdbc:h2:mem:board;mode=mysql
# driver-class-name: org.h2.Driver
# sql.init.mode: always
# test.database.replace: none
# test.database.replace: none
---
spring:
config.activate.on-profile: heroku
datasource:
url: ${JAWSDB_URL}
driver-class-name: com.mysql.cj.jdbc.Driver
jpa.hibernate.ddl-auto: create
sql.init.mode: always