]> de.git.xonotic.org Git - xonotic/xonstatdb.git/commitdiff
Add default to servers table.
authorAnt Zucaro <azucaro@gmail.com>
Wed, 9 Mar 2011 22:25:58 +0000 (17:25 -0500)
committerAnt Zucaro <azucaro@gmail.com>
Wed, 9 Mar 2011 22:25:58 +0000 (17:25 -0500)
tables/servers.tab

index 22ee963e5e2bba9a8a852aefafe3b7fce87168b9..4be3b2f8c75cef41418f62ee8152448df397ad61 100644 (file)
@@ -7,7 +7,7 @@ CREATE TABLE xonstat.servers
   max_players integer,
   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 (