Skip to content

Commit

Permalink
refactor: 인증, 피드 최대 글자수 증가
Browse files Browse the repository at this point in the history
  • Loading branch information
kevstevie committed Nov 1, 2023
1 parent f35efc1 commit 99c1083
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import com.yigongil.backend.domain.round.Round;
import com.yigongil.backend.domain.study.Study;
import java.time.LocalDateTime;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
Expand All @@ -30,6 +31,7 @@ public class Certification extends BaseEntity {
@JoinColumn(name = "study_id")
private Study study;

@Column(length = 1000)
private String content;

private String imageUrl;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import com.yigongil.backend.domain.study.Study;
import java.time.LocalDateTime;
import java.util.Objects;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
Expand All @@ -30,6 +31,7 @@ public class FeedPost extends BaseEntity {
@JoinColumn(name = "study_id")
private Study study;

@Column(length = 1000)
private String content;

private String imageUrl;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
alter table certification
modify column content varchar(1000) not null;

alter table feed_post
modify column content varchar(1000) not null;

0 comments on commit 99c1083

Please sign in to comment.