From: Ant Zucaro Date: Tue, 21 Aug 2012 01:28:58 +0000 (-0400) Subject: Add the ladder code table. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=bb269009db92c73d560c2afaae5b79a3c981bb82;p=xonotic%2Fxonstatdb.git Add the ladder code table. --- diff --git a/tables/cd_ladder.tab b/tables/cd_ladder.tab new file mode 100644 index 0000000..fbc9f00 --- /dev/null +++ b/tables/cd_ladder.tab @@ -0,0 +1,15 @@ +CREATE TABLE xonstat.cd_ladder +( + ladder_cd serial NOT NULL, + title character varying(100) NOT NULL, + descr character varying(200) NOT NULL, + create_dt timestamp without time zone NOT NULL DEFAULT (current_timestamp at time zone 'UTC'), + start_dt date NOT NULL, + end_dt date NOT NULL, + active_ind boolean NOT NULL DEFAULT true, + CONSTRAINT cd_ladder_pk PRIMARY KEY (ladder_cd) +) +WITH ( + OIDS=FALSE +); +ALTER TABLE xonstat.cd_ladder OWNER TO xonstat;