aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/data/entities/TelegramEntity.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/juick/data/entities/TelegramEntity.java')
-rw-r--r--src/main/java/com/juick/data/entities/TelegramEntity.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/data/entities/TelegramEntity.java b/src/main/java/com/juick/data/entities/TelegramEntity.java
index a592f635..453b8c11 100644
--- a/src/main/java/com/juick/data/entities/TelegramEntity.java
+++ b/src/main/java/com/juick/data/entities/TelegramEntity.java
@@ -24,7 +24,7 @@ import jakarta.persistence.*;
public class TelegramEntity extends BaseUserPropertyEntity {
@Id
@Column(name = "tg_id")
- @GeneratedValue(strategy = GenerationType.AUTO)
+ @GeneratedValue(strategy = GenerationType.IDENTITY)
private Long identifier;
public Long getIdentifier() {