]> de.git.xonotic.org Git - xonotic/xonstatdb.git/blobdiff - tables/games.tab
Store a list of player_ids in the games table.
[xonotic/xonstatdb.git] / tables / games.tab
index 06d807921a31c40c56c7c13990efb7e6a4dbc35d..cf63852d3dfdf71ba97128319b1c2b609b763f89 100755 (executable)
@@ -10,6 +10,7 @@ CREATE TABLE xonstat.games
   match_id character varying(64),
   mod character varying(64),
   create_dt timestamp without time zone NOT NULL DEFAULT (current_timestamp at time zone 'UTC'),
+  players integer[],
   CONSTRAINT games_pk PRIMARY KEY (game_id),
   CONSTRAINT games_fk001 FOREIGN KEY (game_type_cd)
       REFERENCES xonstat.cd_game_type (game_type_cd) MATCH SIMPLE