Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ dependencies {

// payment
implementation 'com.github.iamport:iamport-rest-client-java:0.2.23'
implementation 'com.siot:iamport-rest-client:1.2.0'

compileOnly 'org.projectlombok:lombok'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
@AllArgsConstructor
@Setter
@Entity
@Table(name = "Notifications")
@Table(name = "notifications")
public class Notification extends BaseEntity {
// 곡지사항 μ—”ν‹°ν‹°

Expand All @@ -30,7 +30,6 @@ public class Notification extends BaseEntity {
@Column(name = "title", length = 20)
private String title;

@Lob
@Column(name = "content")
private String content;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class ReviewController {
public ApiResponse<Void> createReview(
@PathVariable("placeId") Long placeId,
@RequestPart("review") @Valid ReviewRequestDTO.ReviewRegisterDTO review,
@RequestPart("reviewPictures") List<MultipartFile> reviewPictures) {
@RequestPart(name = "reviewPictures", required = false) List<MultipartFile> reviewPictures) {

User user = (User) SecurityContextHolder.getContext().getAuthentication().getPrincipal();
Long userId = user.getId();
Expand Down
3 changes: 2 additions & 1 deletion src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ spring.datasource.password=${DB_PASSWORD}
spring.data.redis.host=localhost
spring.data.redis.port=6379

spring.jpa.hibernate.ddl-auto= update
spring.jpa.hibernate.ddl-auto=validate

spring.jpa.show-sql=true
spring.jpa.properties.hibernate.format_sql=true
spring.jpa.database-platform=org.hibernate.dialect.MySQL8Dialect
Expand Down
Loading