]> de.git.xonotic.org Git - xonotic/xonstatdb.git/blob - tables/servers.tab
Consolidate indexes for the games table.
[xonotic/xonstatdb.git] / tables / servers.tab
1 CREATE TABLE xonstat.servers
2 (
3   server_id serial NOT NULL,
4   "name" character varying(64),
5   "location" character varying(100),
6   ip_addr character varying(32),
7   port integer,
8   hashkey character varying(44),
9   public_key character varying(725),
10   revision character varying(50),
11   pure_ind boolean NOT NULL DEFAULT true,
12   impure_cvars integer NULL,
13   active_ind boolean NOT NULL DEFAULT true,
14   create_dt timestamp without time zone NOT NULL DEFAULT (current_timestamp at time zone 'UTC'),
15   CONSTRAINT servers_pk PRIMARY KEY (server_id)
16 )
17 WITH (
18   OIDS=FALSE
19 );
20 ALTER TABLE xonstat.servers OWNER TO xonstat;