opendb/collection/opendb-stat-app-versions/collection.json

1 line
862 B
JSON
Raw Normal View History

2022-02-17 16:11:15 +08:00
{"schema":{"bsonType":"object","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":{"bsonType":"string","description":"应用平台对应opendb-app-platforms.code","foreignKey":"opendb-app-platforms.code"},"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}}]}