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