]> git.rm.cloudns.org Git - xonotic/xonstatdb.git/commitdiff
Store a list of player_ids in the games table.
authorAnt Zucaro <azucaro@gmail.com>
Tue, 16 Dec 2014 02:31:00 +0000 (21:31 -0500)
committerAnt Zucaro <azucaro@gmail.com>
Tue, 16 Dec 2014 02:31:00 +0000 (21:31 -0500)
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