update: 表 opendb-news-articles 字段 comment_status 改为 enum

This commit is contained in:
handongxun 2020-12-15 10:46:06 +08:00
parent aafb5b9bcb
commit 58583daec9

View File

@ -97,9 +97,17 @@
"comment_status": { "comment_status": {
"bsonType": "int", "bsonType": "int",
"title": "开放评论", "title": "开放评论",
"minimum": 0, "description": "评论状态0 关闭 1 开放",
"maximum": 1, "enum": [
"description": "评论状态0 关闭 1 开放" {
"value": 0,
"text": "关闭"
},
{
"value": 1,
"text": "开放"
}
]
}, },
"comment_count": { "comment_count": {
"bsonType": "int", "bsonType": "int",
@ -157,6 +165,5 @@
} }
} }
}, },
"data": [],
"index": [] "index": []
} }