1 CREATE TABLE xonstat.hashkeys
3 player_id serial NOT NULL,
4 hashkey character varying(44) NOT NULL,
5 active_ind boolean NOT NULL DEFAULT true,
6 create_dt timestamp with time zone NOT NULL DEFAULT now(),
7 CONSTRAINT hashkeys_pk PRIMARY KEY (player_id, hashkey),
8 CONSTRAINT hashkeys_fk001 FOREIGN KEY (player_id)
9 REFERENCES xonstat.players (player_id) MATCH SIMPLE
10 ON UPDATE NO ACTION ON DELETE NO ACTION
15 ALTER TABLE xonstat.hashkeys OWNER TO xonstat;