🎈 perf(数据库): 优化数据库索引
This commit is contained in:
@@ -7,7 +7,7 @@ import { index, getModelForClass, prop, DocumentType } from '@typegoose/typegoos
|
||||
/**
|
||||
* 活动系统 - 寻宝猎人-商店
|
||||
*/
|
||||
@index({ roleId: 1 })
|
||||
@index({ roleId: 1, activityId: 1 })
|
||||
|
||||
export default class Activity_Treasure_Hunt_Shop extends ActivityShop {
|
||||
@prop({ required: true })
|
||||
|
||||
Reference in New Issue
Block a user