update collection/opendb-news-favorite/collection.json.

This commit is contained in:
崔红保 2020-10-26 19:08:01 +08:00 committed by Gitee
parent d70b5ee06d
commit a0c6c61eaf

View File

@ -13,8 +13,25 @@
"user_id": {
"bsonType": "string",
"description": "收藏者id参考uni-id-users表"
},
"create_date": {
"bsonType": "timestamp",
"description": "收藏时间"
}
}
},
"index": []
"index": [
{
"IndexName": "article_id_",
"MgoKeySchema": {
"MgoIndexKeys": [
{
"Name": "article_id",
"Direction": "1"
}
],
"MgoIsUnique": false
}
}
]
}