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": {
"bsonType": "int",
"title": "文章状态",
"minimum": 0,
"maximum": 1,
"description": "文章状态0 草稿箱 1 已发布"
"description": "文章状态0 草稿箱 1 已发布",
"enum": [
{
"value": 0,
"text": "草稿箱"
},
{
"value": 1,
"text": "已发布"
}
]
},
"view_count": {
"bsonType": "int",