]> de.git.xonotic.org Git - xonotic/xonstatdb.git/blob - tables/maps.tab
Give the active MVs primary keys.
[xonotic/xonstatdb.git] / tables / maps.tab
1 CREATE TABLE xonstat.maps
2 (
3   map_id serial NOT NULL,
4   "name" character varying(64) NOT NULL,
5   "version" integer NOT NULL DEFAULT 1,
6   pk3_name character varying(100),
7   curl_url character varying(300),
8   create_dt timestamp without time zone NOT NULL DEFAULT (current_timestamp at time zone 'UTC'),
9   CONSTRAINT maps_pk PRIMARY KEY (map_id)
10 )
11 WITH (
12   OIDS=FALSE
13 );
14 ALTER TABLE xonstat.maps OWNER TO xonstat;