update collection/opendb-news-categories/collection.json.

This commit is contained in:
崔红保 2020-10-27 17:19:55 +08:00 committed by Gitee
parent 0384cb666d
commit e0113c79ce

View File

@ -2,6 +2,12 @@
"schema": {
"bsonType": "object",
"required": ["name"],
"permission": {
".read": true,
".create": false,
".update": false,
".delete": false
},
"properties": {
"_id": {
"description": "存储文档 ID文章 ID系统自动生成"
@ -33,7 +39,10 @@
},
"create_date": {
"bsonType": "timestamp",
"description": "创建时间"
"description": "创建时间",
"defaultValue": {
"$env": "now"
}
}
}
},