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

This commit is contained in:
崔红保 2020-10-27 17:13:08 +08:00 committed by Gitee
parent 4303ccfed9
commit 78e89dc2d4

View File

@ -2,6 +2,12 @@
"schema": { "schema": {
"bsonType": "object", "bsonType": "object",
"required": ["user_id", "article_id"], "required": ["user_id", "article_id"],
"permission": {
".read": true,
".create": "auth.uid != null",
".update": false,
".delete": "doc.uid == auth.uid"
},
"properties": { "properties": {
"_id": { "_id": {
"description": "ID系统自动生成" "description": "ID系统自动生成"