mirror of
https://github.com/vkaelin/LeagueStats.git
synced 2026-03-25 12:57:28 +00:00
fix: remove unique constraint (for coop vs IA games)
This commit is contained in:
parent
1e2cc8e898
commit
027b6b2f3b
1 changed files with 0 additions and 4 deletions
|
|
@ -66,10 +66,6 @@ export default class MatchPlayers extends BaseSchema {
|
||||||
table.integer('perks_secondary_style').notNullable()
|
table.integer('perks_secondary_style').notNullable()
|
||||||
table.specificType('perks_selected', 'INT[]').notNullable()
|
table.specificType('perks_selected', 'INT[]').notNullable()
|
||||||
})
|
})
|
||||||
|
|
||||||
this.schema.alterTable(this.tableName, (table) => {
|
|
||||||
table.unique(['match_id', 'summoner_puuid'])
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public async down() {
|
public async down() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue