From 84f31824030283cc90245503ba26fdbc0fed5da0 Mon Sep 17 00:00:00 2001 From: insanity Date: Fri, 26 May 2017 19:00:36 +0900 Subject: [PATCH] 1.0.0-SNAPSHOT --- src/main/java/com/loafle/overflow/member/model/Member.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)