mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-12-27 15:01:15 +08:00
update collection/opendb-news-comments/collection.json.
This commit is contained in:
parent
047685376c
commit
5136de5baa
@ -16,7 +16,8 @@
|
||||
},
|
||||
"comment_content": {
|
||||
"bsonType": "string",
|
||||
"description": "评论内容"
|
||||
"description": "评论内容",
|
||||
"title": "评论内容"
|
||||
},
|
||||
"like_count": {
|
||||
"bsonType": "int",
|
||||
@ -40,10 +41,34 @@
|
||||
},
|
||||
"comment_ip": {
|
||||
"bsonType": "string",
|
||||
"description": "评论发表时 IP 地址"
|
||||
"description": "评论发表时 IP 地址",
|
||||
"forceDefaultValue": {
|
||||
"$env": "clientIP"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"data": [],
|
||||
"index": []
|
||||
"index": [
|
||||
{
|
||||
"IndexName": "article_id_",
|
||||
"MgoKeySchema": {
|
||||
"MgoIndexKeys": [{
|
||||
"Name": "article_id",
|
||||
"Direction": "1"
|
||||
}],
|
||||
"MgoIsUnique": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"IndexName": "user_id_",
|
||||
"MgoKeySchema": {
|
||||
"MgoIndexKeys": [{
|
||||
"Name": "user_id",
|
||||
"Direction": "1"
|
||||
}],
|
||||
"MgoIsUnique": false
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user