From 9e2e2732d67ba0088b56804f7193e95b4ae46f22 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Mon, 1 Jul 2024 02:46:50 +0300 Subject: JPA: cleanup column definitions from entities --- src/main/java/com/juick/data/entities/TextEntity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/com/juick/data/entities/TextEntity.java') diff --git a/src/main/java/com/juick/data/entities/TextEntity.java b/src/main/java/com/juick/data/entities/TextEntity.java index 57a1722f..c96adb96 100644 --- a/src/main/java/com/juick/data/entities/TextEntity.java +++ b/src/main/java/com/juick/data/entities/TextEntity.java @@ -25,11 +25,11 @@ import java.io.Serializable; public class TextEntity implements Serializable { @Id - @Column(name = "message_id", columnDefinition = "int(10)") + @Column(name = "message_id") @GeneratedValue(strategy = GenerationType.AUTO) private int id; - @Column(name = "txt", columnDefinition = "clob") + @Column(name = "txt") private String text; public String getText() { -- cgit v1.2.3