|
|
@ -239,6 +239,8 @@ export function apply(ctx: Context) {
|
|
|
|
{ key: { domainId: 1, contest: 1, _id: -1 }, name: 'basic' },
|
|
|
|
{ key: { domainId: 1, contest: 1, _id: -1 }, name: 'basic' },
|
|
|
|
{ key: { domainId: 1, contest: 1, uid: 1, _id: -1 }, name: 'withUser' },
|
|
|
|
{ key: { domainId: 1, contest: 1, uid: 1, _id: -1 }, name: 'withUser' },
|
|
|
|
{ key: { domainId: 1, contest: 1, pid: 1, _id: -1 }, name: 'withProblem' },
|
|
|
|
{ key: { domainId: 1, contest: 1, pid: 1, _id: -1 }, name: 'withProblem' },
|
|
|
|
|
|
|
|
{ key: { domainId: 1, contest: 1, pid: 1, uid: 1, _id: -1 }, name: 'withUserAndProblem' },
|
|
|
|
|
|
|
|
{ key: { domainId: 1, contest: 1, status: 1, _id: -1 }, name: 'withStatus' },
|
|
|
|
));
|
|
|
|
));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|