mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-12-27 15:01:15 +08:00
49 lines
1.1 KiB
JSON
49 lines
1.1 KiB
JSON
{
|
||
"schema": {
|
||
"bsonType": "object",
|
||
"description": "提供应用渠道和小程序场景值的数据字典",
|
||
"required": [],
|
||
"permission": {
|
||
"read": false,
|
||
"create": false,
|
||
"update": false,
|
||
"delete": false
|
||
},
|
||
"properties": {
|
||
"_id": {
|
||
"description": "ID,系统自动生成"
|
||
},
|
||
"platform": {
|
||
"bsonType": "string",
|
||
"description": "应用平台,对应uni-stat-app-platforms.code",
|
||
"foreignKey": "uni-stat-app-platforms.code"
|
||
},
|
||
"scene_code": {
|
||
"bsonType": "string",
|
||
"description": "场景代码"
|
||
},
|
||
"scene_name": {
|
||
"bsonType": "string",
|
||
"description": "场景名称"
|
||
},
|
||
"create_time": {
|
||
"bsonType": "timestamp",
|
||
"description": "创建时间"
|
||
}
|
||
}
|
||
},
|
||
"index": [{
|
||
"IndexName": "index_search",
|
||
"MgoKeySchema": {
|
||
"MgoIndexKeys": [{
|
||
"Name": "platform",
|
||
"Direction": "1"
|
||
}, {
|
||
"Name": "scene_code",
|
||
"Direction": "1"
|
||
}],
|
||
"MgoIsUnique": true
|
||
}
|
||
}]
|
||
}
|