diff --git a/Titto_Backend/src/main/resources/application.yml b/Titto_Backend/src/main/resources/application.yml index 44c555d..a5a3277 100644 --- a/Titto_Backend/src/main/resources/application.yml +++ b/Titto_Backend/src/main/resources/application.yml @@ -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: @@ -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 \ No newline at end of file diff --git a/Titto_Backend/src/main/resources/data.sql b/Titto_Backend/src/main/resources/data.sql new file mode 100644 index 0000000..9942c40 --- /dev/null +++ b/Titto_Backend/src/main/resources/data.sql @@ -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);