Skip to content

Commit

Permalink
fix: updated content column length
Browse files Browse the repository at this point in the history
  • Loading branch information
thguss committed Dec 10, 2024
1 parent c5da761 commit 16359c7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 16359c7

Please sign in to comment.