]> de.git.xonotic.org Git - xonotic/xonstatdb.git/blob - tables/game_mutators.tab
Add TKA to the full build.
[xonotic/xonstatdb.git] / tables / game_mutators.tab
1 CREATE TABLE xonstat.game_mutators
2 (
3   game_id bigint NOT NULL,
4   mutator_cd integer NOT NULL,
5   CONSTRAINT game_mutators_pk PRIMARY KEY (game_id, mutator_cd),
6   CONSTRAINT game_mutators_fk001 FOREIGN KEY (game_id)
7       REFERENCES xonstat.games (game_id) MATCH SIMPLE
8       ON UPDATE NO ACTION ON DELETE NO ACTION,
9   CONSTRAINT game_mutators_fk002 FOREIGN KEY (mutator_cd)
10       REFERENCES xonstat.cd_mutator (mutator_cd) MATCH SIMPLE
11       ON UPDATE NO ACTION ON DELETE NO ACTION
12 )
13 WITH (
14   OIDS=FALSE
15 );
16 ALTER TABLE xonstat.game_mutators OWNER TO xonstat;