mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-12-27 15:01:15 +08:00
update: 活跃用户表索引调整
This commit is contained in:
parent
a62b6da926
commit
8d189731f0
@ -1 +1 @@
|
||||
{"schema":{"bsonType":"object","required":[],"permission":{"read":false,"create":false,"update":false,"delete":false},"properties":{"_id":{"description":"ID,系统自动生成"},"appid":{"bsonType":"string","description":"应用ID"},"platform_id":{"bsonType":"string","description":"应用平台ID,对应opendb-stat-app-platforms._id","foreignKey":"opendb-stat-app-platforms._id"},"channel_id":{"bsonType":"string","description":"渠道/场景值ID,对应opendb-stat-app-channels._id","foreignKey":"opendb-stat-app-channels._id"},"version_id":{"bsonType":"string","description":"应用版本ID,对应opendb-stat-app-versions._id","foreignKey":"opendb-stat-app-versions._id"},"uuid":{"bsonType":"string","description":"客户端上报的用户标志"},"is_new":{"bsonType":"int","description":"是否为新用户","defaultValue":0,"enum":[{"text":"否","value":0},{"text":"是","value":1}]},"create_time":{"bsonType":"timestamp","description":"创建时间"}}}}
|
||||
{"schema":{"bsonType":"object","required":[],"permission":{"read":false,"create":false,"update":false,"delete":false},"properties":{"_id":{"description":"ID,系统自动生成"},"appid":{"bsonType":"string","description":"应用ID"},"platform_id":{"bsonType":"string","description":"应用平台ID,对应opendb-stat-app-platforms._id","foreignKey":"opendb-stat-app-platforms._id"},"channel_id":{"bsonType":"string","description":"渠道/场景值ID,对应opendb-stat-app-channels._id","foreignKey":"opendb-stat-app-channels._id"},"version_id":{"bsonType":"string","description":"应用版本ID,对应opendb-stat-app-versions._id","foreignKey":"opendb-stat-app-versions._id"},"uuid":{"bsonType":"string","description":"客户端上报的用户标志"},"is_new":{"bsonType":"int","description":"是否为新用户","defaultValue":0,"enum":[{"text":"否","value":0},{"text":"是","value":1}]},"create_time":{"bsonType":"timestamp","description":"创建时间"}}},"index":[{"IndexName":"index_search_time","MgoKeySchema":{"MgoIndexKeys":[{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_normal","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version_id","Direction":"1"},{"Name":"platform_id","Direction":"1"},{"Name":"channel_id","Direction":"1"},{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_user","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version_id","Direction":"1"},{"Name":"platform_id","Direction":"1"},{"Name":"channel_id","Direction":"1"},{"Name":"uuid","Direction":"1"},{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_new","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version_id","Direction":"1"},{"Name":"platform_id","Direction":"1"},{"Name":"channel_id","Direction":"1"},{"Name":"is_new","Direction":"1"},{"Name":"create_time","Direction":"1"},{"Name":"uuid","Direction":"1"}],"MgoIsUnique":false}}]}
|
Loading…
Reference in New Issue
Block a user