🎈 perf(数据库): 优化数据库索引
This commit is contained in:
@@ -6,7 +6,7 @@ import { index, getModelForClass, prop, DocumentType } from '@typegoose/typegoos
|
||||
/**
|
||||
* 活动系统 - 寻宝骑兵-首页奖励
|
||||
*/
|
||||
@index({ roleId: 1 })
|
||||
@index({ roleId: 1, activityId: 1 })
|
||||
|
||||
export default class Activity_Treasure_Hunt_First_Page {
|
||||
@prop({ required: true })
|
||||
|
||||
Reference in New Issue
Block a user