From 027b6b2f3b80fedc06a89d9de8e781260853749f Mon Sep 17 00:00:00 2001 From: Kalane Date: Sun, 19 Sep 2021 20:47:41 +0200 Subject: [PATCH] fix: remove unique constraint (for coop vs IA games) --- server-v2/database/migrations/1631392766690_match_players.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/server-v2/database/migrations/1631392766690_match_players.ts b/server-v2/database/migrations/1631392766690_match_players.ts index 9e37ff5..a469f85 100644 --- a/server-v2/database/migrations/1631392766690_match_players.ts +++ b/server-v2/database/migrations/1631392766690_match_players.ts @@ -66,10 +66,6 @@ export default class MatchPlayers extends BaseSchema { table.integer('perks_secondary_style').notNullable() table.specificType('perks_selected', 'INT[]').notNullable() }) - - this.schema.alterTable(this.tableName, (table) => { - table.unique(['match_id', 'summoner_puuid']) - }) } public async down() {