添加索引:Role->roleName, SystemConfig->seasonNum

This commit is contained in:
liangtongchuan
2021-08-09 21:53:28 +08:00
parent 90c6f012b1
commit f979c5e9b3
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -97,6 +97,7 @@ export class Teraph {
* 角色字段接口
*/
@index({ roleId: 1 })
@index({ roleName: 1 })
@index({ serverId: 1, roleId: 1 })
@index({ towerLv: -1, towerUpTime: 1 })
// @index({ userInfo.uid: 1, serverId: 1 })