- remove email and IDCardNo unique index for User

This commit is contained in:
gazebo
2019-03-04 11:46:13 +08:00
parent dce28f4aa0
commit c2896a69af

View File

@@ -17,8 +17,8 @@ func (*User) TableUnique() [][]string {
[]string{"UserID2", "DeletedAt"},
[]string{"Name", "DeletedAt"},
[]string{"Mobile", "DeletedAt"},
[]string{"Email", "DeletedAt"},
[]string{"IDCardNo", "DeletedAt"},
// []string{"Email", "DeletedAt"},
// []string{"IDCardNo", "DeletedAt"},
}
}