✨ feat(db): 根据慢查询统计添加几个索引

This commit is contained in:
liangtongchuan
2023-06-05 17:50:18 +08:00
parent 4e8a1a9723
commit 6371ac302f
4 changed files with 5 additions and 0 deletions
+2
View File
@@ -18,6 +18,8 @@ class LeagueGood {
@index({ battleCode: 1 })
@index({ groupKey: 1, vestigeId: 1, rank: 1 })
@index({ attackRoleId: 1 })
@index({ defenseRoleId: 1 })
export default class GVGVestigeRec extends BaseModel {
@prop({ required: true })