From: Ant Zucaro Date: Thu, 15 Dec 2011 02:55:25 +0000 (-0500) Subject: Fix unique key definition on games. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=bc5e0c681690ce6974c02808959bd20e01e5aefa;p=xonotic%2Fxonstatdb.git Fix unique key definition on games. --- diff --git a/tables/games.tab b/tables/games.tab index 15c3286..2d8a4a5 100755 --- a/tables/games.tab +++ b/tables/games.tab @@ -19,7 +19,7 @@ CREATE TABLE xonstat.games CONSTRAINT games_fk003 FOREIGN KEY (map_id) REFERENCES xonstat.maps (map_id) MATCH SIMPLE ON UPDATE NO ACTION ON DELETE NO ACTION, - CONSTRAINT games_uk001 UNIQUE KEY (server_id, match_id) + CONSTRAINT games_uk001 UNIQUE (server_id, match_id) ) WITH ( OIDS=FALSE