]> de.git.xonotic.org Git - xonotic/xonstatdb.git/blobdiff - tables/servers.tab
Make the server hashkey an attribute instead of its own table.
[xonotic/xonstatdb.git] / tables / servers.tab
index 22ee963e5e2bba9a8a852aefafe3b7fce87168b9..0bc4bbac54c336e4a32cae3c41c062b8d723d9be 100644 (file)
@@ -4,10 +4,12 @@ CREATE TABLE xonstat.servers
   "name" character varying(64),
   "location" character varying(100),
   ip_addr character varying(32),
-  max_players integer,
+  hashkey character varying(44),
+  public_key character varying(725),
+  revision character varying(50),
   pure_ind boolean NOT NULL DEFAULT true,
   active_ind boolean NOT NULL DEFAULT true,
-  create_dt timestamp without time zone NOT NULL,
+  create_dt timestamp without time zone NOT NULL DEFAULT now(),
   CONSTRAINT servers_pk PRIMARY KEY (server_id)
 )
 WITH (