feat : 게시판 댓글 형 text로 변경

This commit is contained in:
yulmam 2024-08-08 21:57:39 +09:00
parent 1962d5b2df
commit 0f60c9c4cf
2 changed files with 3 additions and 2 deletions

View File

@ -34,7 +34,7 @@ public class Board {
@Column(nullable = false) @Column(nullable = false)
private String category; private String category;
@Column(nullable = false) @Column(columnDefinition = "TEXT", nullable = false)
private String content; private String content;
@Column(nullable = true) @Column(nullable = true)

View File

@ -22,7 +22,8 @@ public class Comment {
@Id @Id
@GeneratedValue @GeneratedValue
private long id; private long id;
@Column
@Column(columnDefinition = "TEXT", nullable = false)
private String content; private String content;
@Column @Column