add collection uni-id-followers

This commit is contained in:
handongxun 2020-09-07 19:58:32 +08:00
parent 7c75d2e8c6
commit 89e0f6abeb
3 changed files with 43 additions and 1 deletions

View File

@ -0,0 +1,24 @@
{
"schema": {
"bsonType": "object",
"required": ["user_id"],
"properties": {
"_id": {
"description": "ID系统自动生成"
},
"user_id": {
"bsonType": "string",
"description": "用户id参考uni-id-users表"
},
"follow_id": {
"bsonType": "string",
"description": "用户id参考uni-id-users表"
},
"create_date": {
"bsonType": "timestamp",
"description": "创建时间"
}
}
},
"index": []
}

View File

@ -0,0 +1,17 @@
{
"name": "@opendb/uni-id-followers",
"version": "0.0.1",
"description": "uni-id-followers",
"keywords": ["关注用户", "followers"],
"opendb": {
"title": "关注用户",
"type": "collection",
"contributors": [
{
"name": "DCloud",
"email": "",
"homepage": "https://gitee.com/dcloud/opendb"
}
]
}
}

View File

@ -6,5 +6,6 @@
"uni-id-base-order":{}, "uni-id-base-order":{},
"uni-id-scores": {}, "uni-id-scores": {},
"uni-id-task": {}, "uni-id-task": {},
"uni-id-task-log": {} "uni-id-task-log": {},
"uni-id-followers": {}
} }