mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-11-14 06:53:00 +08:00
57 lines
1.2 KiB
JSON
57 lines
1.2 KiB
JSON
{
|
||
"schema": {
|
||
"bsonType": "object",
|
||
"description": "提供应用的版本号字典;已废弃,推荐使用opendb-app-versions表",
|
||
"required": [],
|
||
"permission": {
|
||
"read": false,
|
||
"create": false,
|
||
"update": false,
|
||
"delete": false
|
||
},
|
||
"properties": {
|
||
"_id": {
|
||
"description": "ID,系统自动生成"
|
||
},
|
||
"appid": {
|
||
"bsonType": "string",
|
||
"description": "统计应用ID,对应opendb-app-list.appid",
|
||
"foreignKey": "opendb-app-list.appid"
|
||
},
|
||
"platform_id": {
|
||
"bsonType": "string",
|
||
"description": "应用平台,对应uni-stat-app-platforms._id",
|
||
"foreignKey": "uni-stat-app-platforms._id"
|
||
},
|
||
"version": {
|
||
"bsonType": "string",
|
||
"description": "应用版本"
|
||
},
|
||
"create_time": {
|
||
"bsonType": "timestamp",
|
||
"description": "创建时间"
|
||
},
|
||
"last_modify_time": {
|
||
"bsonType": "timestamp",
|
||
"description": "最后修改时间"
|
||
}
|
||
}
|
||
},
|
||
"index": [{
|
||
"IndexName": "index_search_version",
|
||
"MgoKeySchema": {
|
||
"MgoIndexKeys": [{
|
||
"Name": "appid",
|
||
"Direction": "1"
|
||
}, {
|
||
"Name": "platform_id",
|
||
"Direction": "1"
|
||
}, {
|
||
"Name": "version",
|
||
"Direction": "1"
|
||
}],
|
||
"MgoIsUnique": true
|
||
}
|
||
}]
|
||
}
|