created
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
// 文档教程: https://uniapp.dcloud.net.cn/uniCloud/schema
|
||||
{
|
||||
"bsonType": "object",
|
||||
"required": [],
|
||||
"permission": {
|
||||
"read": true,
|
||||
"create": true,
|
||||
"update": true,
|
||||
"delete": true
|
||||
},
|
||||
"properties": {
|
||||
"_id": {
|
||||
"description": "ID,系统自动生成"
|
||||
},
|
||||
"user_id": {
|
||||
"bsonType": "string",
|
||||
"foreignKey": "uni-id-users._id",
|
||||
"pattern": "^[0-9a-f]{24}$"
|
||||
},
|
||||
"vote_id": {
|
||||
"bsonType": "string",
|
||||
"foreignKey": "cms_vote.vote_id"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user