diff --git a/backend/src/main/java/reviewme/review/domain/abstraction/Answer.java b/backend/src/main/java/reviewme/review/domain/abstraction/Answer.java index 4118c3757..1e6b86833 100644 --- a/backend/src/main/java/reviewme/review/domain/abstraction/Answer.java +++ b/backend/src/main/java/reviewme/review/domain/abstraction/Answer.java @@ -22,7 +22,7 @@ public abstract class Answer { @Id - @GeneratedValue(strategy = GenerationType.TABLE) + @GeneratedValue(strategy = GenerationType.IDENTITY) protected Long id; @Column(name = "question_id", nullable = false)