From 0f60c9c4cf0cf56b2e396475706fe1f3c126deed Mon Sep 17 00:00:00 2001 From: yulmam <70622601+yulmam@users.noreply.github.com> Date: Thu, 8 Aug 2024 21:57:39 +0900 Subject: [PATCH] =?UTF-8?q?feat=20:=20=EA=B2=8C=EC=8B=9C=ED=8C=90=20?= =?UTF-8?q?=EB=8C=93=EA=B8=80=20=ED=98=95=20text=EB=A1=9C=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/edufocus/edufocus/board/entity/vo/Board.java | 2 +- .../java/com/edufocus/edufocus/board/entity/vo/Comment.java | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/backend/src/main/java/com/edufocus/edufocus/board/entity/vo/Board.java b/backend/src/main/java/com/edufocus/edufocus/board/entity/vo/Board.java index c2a2519..e4fba11 100644 --- a/backend/src/main/java/com/edufocus/edufocus/board/entity/vo/Board.java +++ b/backend/src/main/java/com/edufocus/edufocus/board/entity/vo/Board.java @@ -34,7 +34,7 @@ public class Board { @Column(nullable = false) private String category; - @Column(nullable = false) + @Column(columnDefinition = "TEXT", nullable = false) private String content; @Column(nullable = true) diff --git a/backend/src/main/java/com/edufocus/edufocus/board/entity/vo/Comment.java b/backend/src/main/java/com/edufocus/edufocus/board/entity/vo/Comment.java index aa05c5b..9bd6361 100644 --- a/backend/src/main/java/com/edufocus/edufocus/board/entity/vo/Comment.java +++ b/backend/src/main/java/com/edufocus/edufocus/board/entity/vo/Comment.java @@ -22,7 +22,8 @@ public class Comment { @Id @GeneratedValue private long id; - @Column + + @Column(columnDefinition = "TEXT", nullable = false) private String content; @Column