diff options
author | Vitaly Takmazov | 2024-07-01 02:46:50 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2024-07-01 02:46:50 +0300 |
commit | 9e2e2732d67ba0088b56804f7193e95b4ae46f22 (patch) | |
tree | 930fbdca73d1534b644c08e5f96195c9607449eb /src/main/java/com/juick/data/entities/EmailEntity.java | |
parent | 0fe8ba86c60a96b4e67196074ba4ec9944e34d5d (diff) |
JPA: cleanup column definitions from entities
Diffstat (limited to 'src/main/java/com/juick/data/entities/EmailEntity.java')
-rw-r--r-- | src/main/java/com/juick/data/entities/EmailEntity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/data/entities/EmailEntity.java b/src/main/java/com/juick/data/entities/EmailEntity.java index 566a9654..4e71adc5 100644 --- a/src/main/java/com/juick/data/entities/EmailEntity.java +++ b/src/main/java/com/juick/data/entities/EmailEntity.java @@ -23,7 +23,7 @@ import jakarta.persistence.*; @Table(name = "emails") public class EmailEntity extends BaseUserPropertyEntity { @Id - @Column(name = "email", columnDefinition = "char(64)") + @Column(name = "email") @GeneratedValue(strategy = GenerationType.AUTO) private String email; |