Skip to content

Commit

Permalink
fix : 최대 글자수 제한
Browse files Browse the repository at this point in the history
  • Loading branch information
seungueonn committed Dec 8, 2023
1 parent 3f737c8 commit ee025b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
public class MissionArchiveReq {

private String status;
@Size(min = 1, max = 4000)
@Size(min = 1, max = 1000)
private String archive; //사진일 경우 파일명, 이외에는 text,link

@Builder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class MissionArchive extends BaseTimeEntity { // 1회 미션을 저장
@Enumerated(value = EnumType.STRING)
private MissionArchiveStatus status;

@Column(nullable = false, length = 4000)
@Column(nullable = false, columnDefinition="TEXT", length = 4000)
private String archive; //링크, 글, 사진 뭐든 가능

private Long count; // 횟수
Expand Down

0 comments on commit ee025b9

Please sign in to comment.