Add email address to the players table (for admins only).
[xonotic/xonstatdb.git] / tables / players.tab
1 CREATE TABLE xonstat.players
2 (
3   player_id serial NOT NULL,
4   nick character varying(128),
5   stripped_nick character varying(128),
6   "location" character varying(100),
7   email_addr character varying(255),
8   active_ind boolean NOT NULL default true,
9   create_dt timestamp without time zone NOT NULL DEFAULT (current_timestamp at time zone 'UTC'),
10   CONSTRAINT players_pk PRIMARY KEY (player_id)
11 )
12 WITH (
13   OIDS=FALSE
14 );
15 ALTER TABLE xonstat.players OWNER TO xonstat;