添加索引:Role->roleName, SystemConfig->seasonNum

This commit is contained in:
liangtongchuan
2021-08-09 21:52:36 +08:00
parent 90c6f012b1
commit f979c5e9b3
2 changed files with 2 additions and 0 deletions

View File

@@ -4,6 +4,7 @@ import { CounterModel } from './Counter';
import { COUNTER } from '../consts';
@index({ id: 1 })
@index({ seasonNum: 1 })
export default class PVPConfig extends BaseModel {
@prop({ required: true, default: 1 })
id: number;