Skip to content

Commit

Permalink
Merge pull request IT-Pick#77 from minseok1015/dev
Browse files Browse the repository at this point in the history
fix : keyword unique 속성 추가
  • Loading branch information
minseok1015 authored Aug 12, 2024
2 parents 3595472 + 42f7c7c commit 090c4f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/store/itpick/backend/model/Keyword.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class Keyword {
@Column(name = "keyword_id")
private Long keywordId;

@Column(name = "keyword", nullable = false, length = 50)
@Column(name = "keyword", nullable = false, length = 50, unique = true)
private String keyword;


Expand Down

0 comments on commit 090c4f7

Please sign in to comment.