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

This commit is contained in:
崔红保 2020-10-27 17:15:12 +08:00 committed by Gitee
parent 78e89dc2d4
commit 620bf588ce

View File

@ -28,15 +28,19 @@
},
"index": [
{
"IndexName": "article_id_",
"IndexName": "article_user_",
"MgoKeySchema": {
"MgoIndexKeys": [
{
"Name": "article_id",
"Direction": "1"
},
{
"Name": "user_id",
"Direction": "1"
}
],
"MgoIsUnique": false
"MgoIsUnique": true
}
}
]