Skip to content

Commit

Permalink
KL-180/refactor: user binary field for uuid
Browse files Browse the repository at this point in the history
  • Loading branch information
ohhamma committed Sep 30, 2024
1 parent 0c5e04a commit ab28110
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/taco/klkl/domain/member/domain/Member.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public class Member {
@GeneratedValue(strategy = GenerationType.AUTO)
private Long id;

@Column(unique = true, nullable = false, updatable = false)
@Column(columnDefinition = "BINARY(16)", unique = true, nullable = false, updatable = false)
private UUID uuid;

@OneToOne(cascade = CascadeType.ALL, orphanRemoval = true)
Expand Down

0 comments on commit ab28110

Please sign in to comment.