update: 表 uni-id-user 索引,设置字段username,mobile.email不可重复

This commit is contained in:
handongxun 2020-11-02 14:38:02 +08:00
parent 8c6eec6403
commit d1f6ea4762

View File

@ -206,7 +206,7 @@
"Name": "username",
"Direction": "1"
}],
"MgoIsUnique": false
"MgoIsUnique": true
}
},
{
@ -216,7 +216,7 @@
"Name": "mobile",
"Direction": "1"
}],
"MgoIsUnique": false
"MgoIsUnique": true
}
},
{
@ -226,7 +226,7 @@
"Name": "email",
"Direction": "1"
}],
"MgoIsUnique": false
"MgoIsUnique": true
}
},
{