mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-11-10 11:09:44 +08:00
update collection/opendb-news-categories/collection.json.
This commit is contained in:
parent
0384cb666d
commit
e0113c79ce
@ -2,6 +2,12 @@
|
|||||||
"schema": {
|
"schema": {
|
||||||
"bsonType": "object",
|
"bsonType": "object",
|
||||||
"required": ["name"],
|
"required": ["name"],
|
||||||
|
"permission": {
|
||||||
|
".read": true,
|
||||||
|
".create": false,
|
||||||
|
".update": false,
|
||||||
|
".delete": false
|
||||||
|
},
|
||||||
"properties": {
|
"properties": {
|
||||||
"_id": {
|
"_id": {
|
||||||
"description": "存储文档 ID(文章 ID),系统自动生成"
|
"description": "存储文档 ID(文章 ID),系统自动生成"
|
||||||
@ -33,7 +39,10 @@
|
|||||||
},
|
},
|
||||||
"create_date": {
|
"create_date": {
|
||||||
"bsonType": "timestamp",
|
"bsonType": "timestamp",
|
||||||
"description": "创建时间"
|
"description": "创建时间",
|
||||||
|
"defaultValue": {
|
||||||
|
"$env": "now"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user