]> de.git.xonotic.org Git - xonotic/xonstatdb.git/blob - tables/cd_ladder.tab
Consolidate indexes for the games table.
[xonotic/xonstatdb.git] / tables / cd_ladder.tab
1 CREATE TABLE xonstat.cd_ladder
2 (
3   ladder_cd serial NOT NULL,
4   name character varying(100) NOT NULL,
5   descr character varying(200) NOT NULL,
6   create_dt timestamp without time zone NOT NULL DEFAULT (current_timestamp at time zone 'UTC'),
7   start_dt date NOT NULL,
8   end_dt date NOT NULL,
9   active_ind boolean NOT NULL DEFAULT true,
10   CONSTRAINT cd_ladder_pk PRIMARY KEY (ladder_cd)
11 )
12 WITH (
13   OIDS=FALSE
14 );
15 ALTER TABLE xonstat.cd_ladder OWNER TO xonstat;