]> 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 c0eb3ae6688a898006dcca7d560ad77a6f4ead2e..e1aa61f80a4aa21e8eff448c383678afd62ff6c5 100644 (file)
@@ -4,10 +4,14 @@ CREATE TABLE xonstat.servers
   "name" character varying(64),
   "location" character varying(100),
   ip_addr character varying(32),
-  max_players integer,
+  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 with time zone NOT NULL,
+  create_dt timestamp without time zone NOT NULL DEFAULT (current_timestamp at time zone 'UTC'),
   CONSTRAINT servers_pk PRIMARY KEY (server_id)
 )
 WITH (