]> git.rm.cloudns.org Git - xonotic/xonstatdb.git/commitdiff
Fix unique key definition on games.
authorAnt Zucaro <azucaro@gmail.com>
Thu, 15 Dec 2011 02:55:25 +0000 (21:55 -0500)
committerAnt Zucaro <azucaro@gmail.com>
Thu, 15 Dec 2011 02:55:25 +0000 (21:55 -0500)
tables/games.tab

index 15c32869136a14734baad21c7ac1c513b49cceb6..2d8a4a5386cf3b079278aa257289d5f21eff2d29 100755 (executable)
@@ -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