update: opendb-news-articles 增加 mode 属性

This commit is contained in:
mehaotian 2020-08-17 14:49:31 +08:00
parent 2012dc701f
commit 6ea09a8f94

View File

@ -1,7 +1,7 @@
{
"schema": {
"bsonType": "object",
"required": ["user_id", "title", "content", "article_status", "view_count", "like_count", "is_sticky", "is_essence", "comment_status", "comment_count"],
"required": ["user_id", "title", "content", "article_status", "view_count", "like_count", "is_sticky", "is_essence", "comment_status", "comment_count","mode"],
"properties": {
"_id": {
"description": "存储文档 ID用户 ID系统自动生成"
@ -81,6 +81,10 @@
"last_modify_ip": {
"bsonType": "string",
"description": "最后修改时 IP 地址"
},
"mode": {
"bsonType": "number",
"description": "排版显示模式"
}
}
},