LeagueStats/server-new/mongodb/migrations/1601819837856_detailed_match.ts

9 lines
249 B
TypeScript
Raw Normal View History

2020-10-04 14:04:42 +00:00
import BaseMigration from '@ioc:Mongodb/Migration'
export default class DetailedMatchMigration extends BaseMigration {
public up (): void {
// this.createCollection('detailed_matches')
this.createIndex('detailed_matches', 'gameId')
}
}