mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-12-27 15:01:15 +08:00
26 lines
474 B
JSON
26 lines
474 B
JSON
{
|
||
"schema": {
|
||
"bsonType": "object",
|
||
"required": [],
|
||
"permission": {
|
||
"read": true,
|
||
"create": false,
|
||
"update": "doc.user_id == auth.uid",
|
||
"delete": false
|
||
},
|
||
"properties": {
|
||
"_id": {
|
||
"description": "ID,系统自动生成"
|
||
},
|
||
"is_read": {
|
||
"bsonType": "bool",
|
||
"defaultValue": false
|
||
},
|
||
"payload": {
|
||
"state": {}
|
||
}
|
||
}
|
||
},
|
||
"index": []
|
||
}
|