From 4fb60cc02a579469864baa5a5e18f55e8cccf09e Mon Sep 17 00:00:00 2001 From: Kalane Date: Sun, 19 Sep 2021 17:10:49 +0200 Subject: [PATCH] fix: remove smallint for summonerId (prevent old bugged matches crash) --- server-v2/database/migrations/1631392766690_match_players.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server-v2/database/migrations/1631392766690_match_players.ts b/server-v2/database/migrations/1631392766690_match_players.ts index 960cb3d..499ae52 100644 --- a/server-v2/database/migrations/1631392766690_match_players.ts +++ b/server-v2/database/migrations/1631392766690_match_players.ts @@ -41,8 +41,8 @@ export default class MatchPlayers extends BaseSchema { table.specificType('vision_score', 'smallint').notNullable() table.integer('gold').notNullable() - table.specificType('summoner1_id', 'smallint').notNullable() - table.specificType('summoner2_id', 'smallint').notNullable() + table.integer('summoner1_id').notNullable() + table.integer('summoner2_id').notNullable() table.integer('item0').notNullable() table.integer('item1').notNullable()