]> git.rm.cloudns.org Git - xonotic/xonstatdb.git/commitdiff
Get rid of the hashkeys table. It is not needed.
authorAnt Zucaro <azucaro@gmail.com>
Mon, 31 Oct 2011 01:05:01 +0000 (21:05 -0400)
committerAnt Zucaro <azucaro@gmail.com>
Mon, 31 Oct 2011 01:05:01 +0000 (21:05 -0400)
tables/server_hashkeys.tab [deleted file]

diff --git a/tables/server_hashkeys.tab b/tables/server_hashkeys.tab
deleted file mode 100644 (file)
index b4c9297..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-CREATE TABLE xonstat.server_hashkeys
-(
-  server_id integer NOT NULL,
-  hashkey character varying(44) NOT NULL,
-  active_ind boolean NOT NULL DEFAULT true,
-  create_dt timestamp without time zone NOT NULL DEFAULT now(),
-  CONSTRAINT server_hashkeys_pk PRIMARY KEY (server_id, hashkey),
-  CONSTRAINT server_hashkeys_fk001 FOREIGN KEY (server_id)
-      REFERENCES xonstat.servers (server_id) MATCH SIMPLE
-      ON UPDATE NO ACTION ON DELETE NO ACTION,
-  CONSTRAINT server_hashkeys_uk001 UNIQUE (hashkey)
-)
-WITH (
-  OIDS=FALSE
-);
-ALTER TABLE xonstat.server_hashkeys OWNER TO xonstat;