diff --git a/collection/uni-id-followers/collection.json b/collection/uni-id-followers/collection.json new file mode 100644 index 0000000..d4c01b2 --- /dev/null +++ b/collection/uni-id-followers/collection.json @@ -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": [] +} diff --git a/collection/uni-id-followers/package.json b/collection/uni-id-followers/package.json new file mode 100644 index 0000000..1b60092 --- /dev/null +++ b/collection/uni-id-followers/package.json @@ -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" + } + ] + } +} diff --git a/database/uni-id/db_init.json b/database/uni-id/db_init.json index 8a263d3..31b71b3 100644 --- a/database/uni-id/db_init.json +++ b/database/uni-id/db_init.json @@ -6,5 +6,6 @@ "uni-id-base-order":{}, "uni-id-scores": {}, "uni-id-task": {}, - "uni-id-task-log": {} + "uni-id-task-log": {}, + "uni-id-followers": {} }