mirror of
https://github.com/vkaelin/LeagueStats.git
synced 2026-03-25 21:07:27 +00:00
8 lines
246 B
TypeScript
8 lines
246 B
TypeScript
import BaseMigration from '@ioc:Mongodb/Migration'
|
|
|
|
export default class DetailedMatchMigration extends BaseMigration {
|
|
public up (): void {
|
|
this.createCollection('detailed_matches')
|
|
this.createIndex('detailed_matches', 'gameId')
|
|
}
|
|
}
|