mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-12-26 22:41:15 +08:00
update collection/opendb-news-favorite/collection.json.
This commit is contained in:
parent
4303ccfed9
commit
78e89dc2d4
@ -2,6 +2,12 @@
|
||||
"schema": {
|
||||
"bsonType": "object",
|
||||
"required": ["user_id", "article_id"],
|
||||
"permission": {
|
||||
".read": true,
|
||||
".create": "auth.uid != null",
|
||||
".update": false,
|
||||
".delete": "doc.uid == auth.uid"
|
||||
},
|
||||
"properties": {
|
||||
"_id": {
|
||||
"description": "ID,系统自动生成"
|
||||
|
Loading…
Reference in New Issue
Block a user