diff --git a/server/application-server/src/main/java/de/tum/in/www1/hephaestus/chat/message/Message.java b/server/application-server/src/main/java/de/tum/in/www1/hephaestus/chat/message/Message.java index 8cf27e7b..6c2bed6a 100644 --- a/server/application-server/src/main/java/de/tum/in/www1/hephaestus/chat/message/Message.java +++ b/server/application-server/src/main/java/de/tum/in/www1/hephaestus/chat/message/Message.java @@ -28,8 +28,8 @@ public class Message { @Enumerated(EnumType.STRING) private MessageSender sender; + @Lob @NonNull - @Column(length=Length.LONG16) private String content; @NonNull