🎈 perf(数据库): 优化数据库索引

This commit is contained in:
luying
2022-10-24 18:46:24 +08:00
parent 0debd2f724
commit 81863e33ee
81 changed files with 84 additions and 87 deletions
+1 -2
View File
@@ -5,8 +5,7 @@ import { ItemReward } from '../domain/dbGeneral';
/**
* GM用户组接口
*/
@index({ uid: 1 })
@index({ api: 1 })
@index({ roleId: 1, hisRoleId: 1 })
export default class FriendPresentLog extends BaseModel {