소스 검색

取消手机号唯一性

laiguoran 5 년 전
부모
커밋
55aaa6c048
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      modules/all_models/user.js

+ 1 - 1
modules/all_models/user.js

@@ -46,7 +46,7 @@ let schema = {
     email: String,
     mobile: {
         type: String,
-        unique: true
+        // unique: true
     },
     qq: {
         type: String,