🎈 perf(数据库): 优化数据库索引
This commit is contained in:
@@ -12,7 +12,7 @@ export class ChallengeRecord {
|
||||
/**
|
||||
* 糜家商队活动数据
|
||||
*/
|
||||
@index({ roleId: 1 })
|
||||
@index({ roleId: 1, activityId: 1 })
|
||||
|
||||
export default class Activity_Self_Service extends BaseModel {
|
||||
@prop({ required: true })
|
||||
|
||||
Reference in New Issue
Block a user