Skip to content

Commit

Permalink
Merge pull request #195 from dongkyun0713/dongkyun
Browse files Browse the repository at this point in the history
๋”๋ฏธ๋ฐ์ดํ„ฐ ์ถ”๊ฐ€ ๋ฐ ddl-auto ๋ณ€๊ฒฝ
  • Loading branch information
dongkyun0713 authored Mar 28, 2024
2 parents 9117778 + 81e4b34 commit 37670d9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Titto_Backend/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ spring:
username: ${DB_USER}
password: ${DB_PASSWORD}
driver-class-name: com.mysql.cj.jdbc.Driver

jpa:
database: mysql
database-platform: org.hibernate.dialect.MySQLDialect
hibernate:
ddl-auto: create
ddl-auto: update
show-sql: true
properties:
hibernate:
Expand Down Expand Up @@ -49,9 +49,9 @@ springdoc:
api-docs:
path: /api-docs/json
groups:
enable : true
enable: true
cache:
disabled : true
disabled: true
use-fqn: true
default-consumes-media-type: application/json;charset=UTF-8
default-produces-media-type: application/json;charset=UTF-8
4 changes: 4 additions & 0 deletions Titto_Backend/src/main/resources/data.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
INSERT INTO user (user_id, name, profile, create_date, update_date, level)
values (1, '์•Œ ์ˆ˜ ์—†์Œ',
'https://mblogthumb-phinf.pstatic.net/MjAyMDExMDFfMTgy/MDAxNjA0MjI4ODc1NDMw.Ex906Mv9nnPEZGCh4SREknadZvzMO8LyDzGOHMKPdwAg.ZAmE6pU5lhEdeOUsPdxg8-gOuZrq_ipJ5VhqaViubI4g.JPEG.gambasg/%EC%9C%A0%ED%8A%9C%EB%B8%8C_%EA%B8%B0%EB%B3%B8%ED%94%84%EB%A1%9C%ED%95%84_%ED%95%98%EB%8A%98%EC%83%89.jpg?type=w800'
, '2024-03-15 17:15:21.711342', '2024-03-15 17:15:21.711342', 0);

0 comments on commit 37670d9

Please sign in to comment.