From: antzucaro Date: Mon, 10 Oct 2011 19:06:42 +0000 (-0400) Subject: Remove unique constraint on pgstats that prevents multiple bot stats. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=6192aa9b748e97a41399357d9497395e25e1381a;p=xonotic%2Fxonstatdb.git Remove unique constraint on pgstats that prevents multiple bot stats. --- diff --git a/tables/player_game_stats.tab b/tables/player_game_stats.tab index 0ac34ba..840520f 100644 --- a/tables/player_game_stats.tab +++ b/tables/player_game_stats.tab @@ -30,8 +30,7 @@ CREATE TABLE xonstat.player_game_stats ON UPDATE NO ACTION ON DELETE NO ACTION, CONSTRAINT player_game_stats_fk002 FOREIGN KEY (game_id) REFERENCES xonstat.games (game_id) MATCH SIMPLE - ON UPDATE NO ACTION ON DELETE NO ACTION, - CONSTRAINT player_game_stats_uk001 UNIQUE (player_id, game_id) + ON UPDATE NO ACTION ON DELETE NO ACTION ) WITH ( OIDS=FALSE