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": {
"bsonType": "int",
"title": "开放评论",
"minimum": 0,
"maximum": 1,
"description": "评论状态0 关闭 1 开放"
"description": "评论状态0 关闭 1 开放",
"enum": [
{
"value": 0,
"text": "关闭"
},
{
"value": 1,
"text": "开放"
}
]
},
"comment_count": {
"bsonType": "int",
@ -157,6 +165,5 @@
}
}
},
"data": [],
"index": []
}