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

This commit is contained in:
handongxun 2020-12-15 10:42:18 +08:00
parent 32929ff9b0
commit aafb5b9bcb

View File

@ -51,9 +51,17 @@
"article_status": { "article_status": {
"bsonType": "int", "bsonType": "int",
"title": "文章状态", "title": "文章状态",
"minimum": 0, "description": "文章状态0 草稿箱 1 已发布",
"maximum": 1, "enum": [
"description": "文章状态0 草稿箱 1 已发布" {
"value": 0,
"text": "草稿箱"
},
{
"value": 1,
"text": "已发布"
}
]
}, },
"view_count": { "view_count": {
"bsonType": "int", "bsonType": "int",