🎈 perf(数据库): 优化数据库索引
This commit is contained in:
@@ -27,7 +27,8 @@ export class PopUpShopItem {
|
||||
/**
|
||||
* 活动系统 - 弹出商店
|
||||
*/
|
||||
@index({ roleId: 1, code: 1 })
|
||||
@index({ roleId: 1, activityId: 1 })
|
||||
@index({ code: 1 })
|
||||
|
||||
export default class Activity_Pop_Up_Shop extends BaseModel {
|
||||
@prop({ required: true })
|
||||
|
||||
Reference in New Issue
Block a user