mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-12-28 07:19:40 +08:00
update collection/opendb-news-favorite/collection.json.
This commit is contained in:
parent
4303ccfed9
commit
78e89dc2d4
@ -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,系统自动生成"
|
||||||
|
Loading…
Reference in New Issue
Block a user