Skip to content

Commit

Permalink
feat: PK 설정 추가(#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
Minjae-An committed May 25, 2024
1 parent cb05be6 commit 313b5ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion be/src/main/java/yeonba/be/user/entity/VocalRange.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,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.Getter;
Expand All @@ -17,7 +18,7 @@
public class VocalRange {

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

@Column(nullable = false)
Expand Down

0 comments on commit 313b5ad

Please sign in to comment.