mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-11-14 06:53:00 +08:00
update: 表 opendb-news-articles 字段 article_status 改为 enum
This commit is contained in:
parent
32929ff9b0
commit
aafb5b9bcb
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user