diff --git a/src/main/java/com/loafle/overflow/member/model/Member.java b/src/main/java/com/loafle/overflow/member/model/Member.java index b699978..daba06a 100644 --- a/src/main/java/com/loafle/overflow/member/model/Member.java +++ b/src/main/java/com/loafle/overflow/member/model/Member.java @@ -16,7 +16,7 @@ public class Member implements Serializable { @GeneratedValue(strategy= GenerationType.IDENTITY) private Long id; - @Column(name="EMAIL", nullable=false) + @Column(name="EMAIL", unique=true, nullable=false) private String email; @Column(name="PW_SALT", nullable=false)