初始提交
This commit is contained in:
31
uniCloud-aliyun/database/opendb-search-log.schema.json
Normal file
31
uniCloud-aliyun/database/opendb-search-log.schema.json
Normal file
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"bsonType": "object",
|
||||
"permission": {
|
||||
"create": true,
|
||||
"delete": false,
|
||||
"read": false,
|
||||
"update": false
|
||||
},
|
||||
"properties": {
|
||||
"_id": {
|
||||
"description": "ID,系统自动生成"
|
||||
},
|
||||
"content": {
|
||||
"bsonType": "string",
|
||||
"description": "搜索内容"
|
||||
},
|
||||
"create_date": {
|
||||
"bsonType": "timestamp",
|
||||
"description": "统计时间"
|
||||
},
|
||||
"device_id": {
|
||||
"bsonType": "string",
|
||||
"description": "设备id"
|
||||
},
|
||||
"user_id": {
|
||||
"bsonType": "string",
|
||||
"description": "收藏者id,参考uni-id-users表"
|
||||
}
|
||||
},
|
||||
"required": ["content"]
|
||||
}
|
||||
Reference in New Issue
Block a user