🐞 fix(mongo): 根据数据库慢日志更新索引
This commit is contained in:
@@ -40,6 +40,7 @@ class Record {
|
||||
}
|
||||
|
||||
@index({ roleId: 1, battleId: 1 })
|
||||
@index({ roleId: 1, warType: 1 })
|
||||
@index({ battleCode: 1 })
|
||||
export default class BattleRecord extends BaseModel {
|
||||
@prop({ required: true })
|
||||
|
||||
Reference in New Issue
Block a user