opendb/collection/uni-id-followers/collection.json

25 lines
567 B
JSON
Raw Normal View History

2020-09-07 19:58:32 +08:00
{
"schema": {
"bsonType": "object",
2020-09-08 14:37:48 +08:00
"required": ["friend_uid", "follow_uid"],
2020-09-07 19:58:32 +08:00
"properties": {
"_id": {
"description": "ID系统自动生成"
},
2020-09-08 14:30:04 +08:00
"friend_uid": {
2020-09-07 19:58:32 +08:00
"bsonType": "string",
2020-09-08 14:30:04 +08:00
"description": "被关注者user_id参考uni-id-users表"
2020-09-07 19:58:32 +08:00
},
2020-09-08 14:30:04 +08:00
"follow_uid": {
2020-09-07 19:58:32 +08:00
"bsonType": "string",
2020-09-08 14:30:04 +08:00
"description": "关注者user_id参考uni-id-users表"
2020-09-07 19:58:32 +08:00
},
"create_date": {
"bsonType": "timestamp",
"description": "创建时间"
}
}
},
"index": []
}