🎈 perf(数据库): 优化数据库索引
This commit is contained in:
+1
-2
@@ -105,9 +105,8 @@ export class Teraph {
|
||||
/**
|
||||
* 角色字段接口
|
||||
*/
|
||||
@index({ roleId: 1 })
|
||||
@index({ roleId: 1, serverId: 1 })
|
||||
@index({ roleName: 1 })
|
||||
@index({ serverId: 1, roleId: 1 })
|
||||
@index({ towerLv: -1, towerUpTime: 1 })
|
||||
@index({ topLineupCe: 1, updatedAt: 1 })
|
||||
@index({ ce: -1 })
|
||||
|
||||
Reference in New Issue
Block a user