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