mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-12-26 22:41:15 +08:00
update: 表 uni-id-user 索引,设置字段username,mobile.email不可重复
This commit is contained in:
parent
8c6eec6403
commit
d1f6ea4762
@ -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
|
||||
}
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user