]> git.xonotic.org Git - xonotic/xonstatdb.git/blobdiff - tables/servers.tab
Update the unique key on the player captimes table.
[xonotic/xonstatdb.git] / tables / servers.tab
index 0bc4bbac54c336e4a32cae3c41c062b8d723d9be..e1aa61f80a4aa21e8eff448c383678afd62ff6c5 100644 (file)
@@ -4,12 +4,14 @@ CREATE TABLE xonstat.servers
   "name" character varying(64),
   "location" character varying(100),
   ip_addr character varying(32),
+  port integer,
   hashkey character varying(44),
   public_key character varying(725),
   revision character varying(50),
   pure_ind boolean NOT NULL DEFAULT true,
+  impure_cvars integer NULL,
   active_ind boolean NOT NULL DEFAULT true,
-  create_dt timestamp without time zone NOT NULL DEFAULT now(),
+  create_dt timestamp without time zone NOT NULL DEFAULT (current_timestamp at time zone 'UTC'),
   CONSTRAINT servers_pk PRIMARY KEY (server_id)
 )
 WITH (