Skip to content

Commit

Permalink
fix(domain): 대소문자 구분하지 않는 제약 조건 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
jminkkk committed Dec 19, 2024
1 parent 74d4e7f commit c6cbdb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/main/java/codezap/tag/domain/Tag.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class Tag extends BaseTimeEntity {
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;

@Column(nullable = false, unique = true)
@Column(nullable = false,unique = true, columnDefinition = "VARCHAR(255) COLLATE utf8mb4_bin")
private String name;

public Tag(String name) {
Expand Down

0 comments on commit c6cbdb4

Please sign in to comment.