diff --git a/collection/opendb-news-articles/collection.json b/collection/opendb-news-articles/collection.json index e7109d3..3c371d2 100644 --- a/collection/opendb-news-articles/collection.json +++ b/collection/opendb-news-articles/collection.json @@ -1,7 +1,7 @@ { "schema": { "bsonType": "object", - "required": ["user_id", "title", "content", "article_status", "view_count", "like_count", "is_sticky", "is_essence", "comment_status", "comment_count"], + "required": ["user_id", "title", "content", "article_status", "view_count", "like_count", "is_sticky", "is_essence", "comment_status", "comment_count","mode"], "properties": { "_id": { "description": "存储文档 ID(用户 ID),系统自动生成" @@ -81,6 +81,10 @@ "last_modify_ip": { "bsonType": "string", "description": "最后修改时 IP 地址" + }, + "mode": { + "bsonType": "number", + "description": "排版显示模式" } } },