Skip to content

Commit

Permalink
Fix db init script - add count_game column
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob1 committed Oct 31, 2023
1 parent 8a99f44 commit bc37af7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/db/db.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit bc37af7

Please sign in to comment.