mirror of
https://github.com/vkaelin/LeagueStats.git
synced 2026-03-25 12:57:28 +00:00
9 lines
229 B
TypeScript
9 lines
229 B
TypeScript
|
|
import BaseMigration from '@ioc:Mongodb/Migration'
|
||
|
|
|
||
|
|
export default class SummonerMigration extends BaseMigration {
|
||
|
|
public up (): void {
|
||
|
|
// this.createCollection('summoners')
|
||
|
|
this.createIndex('summoners', 'puuid')
|
||
|
|
}
|
||
|
|
}
|