🐞 fix(mongo): 根据数据库慢日志更新索引
This commit is contained in:
@@ -9,6 +9,7 @@ import { RoleModel } from './Role';
|
||||
*/
|
||||
@modelOptions({ schemaOptions: { id: false } })
|
||||
@index({ roleId: 1, seqId: 1, id: 1 })
|
||||
@index({ seqId: 1 })
|
||||
@index({ roleId: 1, quality: 1 })
|
||||
@index({ batchCode: 1 })
|
||||
@index({ status: 1 })
|
||||
|
||||
Reference in New Issue
Block a user