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