🎈 perf(数据库): 优化数据库索引
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user