🎈 perf(数据库): 优化数据库索引

This commit is contained in:
luying
2022-10-24 18:46:24 +08:00
parent 0debd2f724
commit 81863e33ee
81 changed files with 84 additions and 87 deletions
+1 -2
View File
@@ -6,8 +6,7 @@ import { GroupShopDiscount } from '../domain/activityField/groupShopField';
/**
* 活动系统 - 团购玩家记录
*/
@index({ activityId: 1 })
@index({ activityId: 1, roleId: 1 })
@index({ roleId: 1, activityId: 1, })
@index({ activityId: 1, id: 1, 'records.price': 1 })
export class GroupShopBuyRecord {