Skip to content

Commit

Permalink
hotfix(Homework): 기본키 생성 전략 설정 실수로 인한 애플리케이션 미작동 오류 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
limehee committed Jan 18, 2025
1 parent 4018ed2 commit dd2df6e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.GeneratedValue;
import jakarta.persistence.GenerationType;
import jakarta.persistence.Id;
import jakarta.persistence.Table;
import lombok.AccessLevel;
Expand All @@ -22,7 +23,7 @@
public class HomeworkEntity extends BaseEntity {

@Id
@GeneratedValue
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;

@Column(nullable = false)
Expand Down

0 comments on commit dd2df6e

Please sign in to comment.