diff --git a/src/main/java/teammates/storage/sqlentity/User.java b/src/main/java/teammates/storage/sqlentity/User.java index 7b5b8ed1bc0..7fe8850980f 100644 --- a/src/main/java/teammates/storage/sqlentity/User.java +++ b/src/main/java/teammates/storage/sqlentity/User.java @@ -22,9 +22,7 @@ * Represents a User. */ @Entity -@Table(name = "Users", uniqueConstraints = { - @UniqueConstraint(name = "Unique email and courseId", columnNames = { "email", "courseId" }) -}) +@Table(name = "Users") @Inheritance(strategy = InheritanceType.JOINED) public abstract class User extends BaseEntity { @Id