Skip to content

Commit 4ce750b

Browse files
[EA3-78] chore: H2-PostgreSQL 호환을 위해 StudyPost의 ID 생성 전략을 AUTO로 변경
1 parent b175946 commit 4ce750b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/grep/neogul_coder/domain/studypost/StudyPost.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
public class StudyPost extends BaseEntity {
1919

2020
@Id
21-
@GeneratedValue(strategy = GenerationType.IDENTITY)
21+
@GeneratedValue(strategy = GenerationType.AUTO)
2222
private Long id;
2323

2424
@ManyToOne(fetch = FetchType.LAZY, optional = false)

0 commit comments

Comments
 (0)