From bc37af728048784a2636a4c55a81f11a4d2d9ae4 Mon Sep 17 00:00:00 2001 From: jacob1 Date: Tue, 31 Oct 2023 13:28:03 -0400 Subject: [PATCH] Fix db init script - add count_game column --- src/db/db.sql | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/db/db.sql b/src/db/db.sql index b1d98290..058339c6 100644 --- a/src/db/db.sql +++ b/src/db/db.sql @@ -154,7 +154,9 @@ CREATE TABLE game_player ( -- 1 if the player has an individual win for this game indiv_win BOOLEAN NOT NULL, -- 1 if the player died due to a dc (kick, quit, idled out) - dced BOOLEAN NOT NULL + dced BOOLEAN NOT NULL, + -- 0 if the game should not be counted towards win statistics + count_game BOOLEAN NOT NULL DEFAULT 1 ); CREATE INDEX game_player_game_idx ON game_player (game);