LeagueStats/server-new/mongodb/migrations/1601816721286_match.ts
2020-10-04 16:04:42 +02:00

9 lines
273 B
TypeScript

import BaseMigration from '@ioc:Mongodb/Migration'
export default class MatchMigration extends BaseMigration {
public up (): void {
// this.createCollection('matches')
this.createIndex('matches', 'gameId')
this.createIndex('matches', 'summoner_puuid')
}
}