mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-12-26 22:41:15 +08:00
update collection/uni-id-followers/collection.json.
This commit is contained in:
parent
e71b85e82c
commit
2c211d4c96
@ -18,13 +18,36 @@
|
||||
},
|
||||
"follow_uid": {
|
||||
"bsonType": "string",
|
||||
"description": "关注者user_id,参考uni-id-users表"
|
||||
"description": "关注者user_id,参考uni-id-users表",
|
||||
"forceDefaultValue": {
|
||||
"$env": "uid"
|
||||
}
|
||||
},
|
||||
"create_date": {
|
||||
"bsonType": "timestamp",
|
||||
"description": "创建时间"
|
||||
"description": "创建时间",
|
||||
"forceDefaultValue": {
|
||||
"$env": "now"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"index": []
|
||||
"index": [
|
||||
{
|
||||
"IndexName": "follow_user_",
|
||||
"MgoKeySchema": {
|
||||
"MgoIndexKeys": [
|
||||
{
|
||||
"Name": "friend_uid",
|
||||
"Direction": "1"
|
||||
},
|
||||
{
|
||||
"Name": "follow_uid",
|
||||
"Direction": "1"
|
||||
}
|
||||
],
|
||||
"MgoIsUnique": true
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user