From 16359c7917b4ae120a0f1b75201bfc797190ef84 Mon Sep 17 00:00:00 2001 From: thguss Date: Tue, 10 Dec 2024 22:44:11 +0900 Subject: [PATCH] fix: updated content column length --- .../persistence/postgresql/persistence/entity/DiaryEntity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smeem-output-persistence/postgresql/src/main/java/com/smeem/persistence/postgresql/persistence/entity/DiaryEntity.java b/smeem-output-persistence/postgresql/src/main/java/com/smeem/persistence/postgresql/persistence/entity/DiaryEntity.java index fa5d606a..69edb649 100644 --- a/smeem-output-persistence/postgresql/src/main/java/com/smeem/persistence/postgresql/persistence/entity/DiaryEntity.java +++ b/smeem-output-persistence/postgresql/src/main/java/com/smeem/persistence/postgresql/persistence/entity/DiaryEntity.java @@ -13,7 +13,7 @@ public class DiaryEntity extends BaseEntity { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; - @Column(columnDefinition = "TEXT", nullable = false) + @Column(length = 6000, nullable = false) private String content; @Column(nullable = false) @Enumerated(value = EnumType.STRING)