diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties deleted file mode 100644 index 8b13789..0000000 --- a/src/main/resources/application.properties +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml new file mode 100644 index 0000000..6c9936f --- /dev/null +++ b/src/main/resources/application.yml @@ -0,0 +1,22 @@ +spring: + jpa: + generate-ddl: true + hibernate: + ddl-auto: create + database-platform: org.hibernate.dialect.MySQL57Dialect + properties: + hibernate: + format_sql: 'true' + show_sql: 'true' + database: mysql + defer-datasource-initailization: 'true' + show-sql: 'true' + datasource: + driver-class-name: com.mysql.cj.jdbc.Driver + hikari: + auto-commit: 'true' + password: loveloveshot + username: loveloveshot + url: jdbc:mysql://localhost:3306/loveloveshot?allowPublicKeyRetrieval=true&useSSL=false&characterEncoding=UTF-8&useUnicode=true&serverTimezone=Asia/Seoul + profiles: + active: dev \ No newline at end of file