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 06d8079..cf63852 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