mirror of
https://github.com/vkaelin/LeagueStats.git
synced 2026-03-25 21:07:27 +00:00
9 lines
273 B
TypeScript
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')
|
|
}
|
|
}
|