🎈 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 -1
View File
@@ -5,7 +5,7 @@ import { index, getModelForClass, prop, DocumentType } from '@typegoose/typegoos
/**
* 活动系统 - 成长任务活动积分点兑换奖励
*/
@index({ serverId: 1, guildCode: 1, activityId: 1, roundIndex: 1 })
@index({ guildCode: 1, activityId: 1, roundIndex: 1 })
export default class Activity_Guild_Pay_Record extends BaseModel {
@prop({ required: true })