Skip to content

Commit

Permalink
[Server] fix : recipe dto 수정 (#39)
Browse files Browse the repository at this point in the history
* feat : ingredients데이터 추가

* feat : 데이터 추가 및 create모드로 배포

* fix : 레시피 추천 dto 수정

* fix : recipe dto 수정
  • Loading branch information
Due-IT authored Aug 16, 2024
1 parent 45b924f commit 5e2629d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public record RecipeDto(
Long id,
String name,
String introduction,
String image1,
String image,
String link,
int servings,
int cookingTime,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ spring.datasource.password=${USER_PASS}
spring.datasource.driver-class-name=org.mariadb.jdbc.Driver

spring.jpa.show-sql=true
spring.jpa.hibernate.ddl-auto=create
spring.jpa.hibernate.ddl-auto=update

# spring boot 2.5.x to use script
spring.sql.init.mode=always
spring.sql.init.mode=never
# script use after hibernate initilalization
spring.jpa.defer-datasource-initialization=true
spring.jpa.defer-datasource-initialization=false

0 comments on commit 5e2629d

Please sign in to comment.