]> de.git.xonotic.org Git - xonotic/xonstatdb.git/blobdiff - tables/players.tab
Use UTC timestamps instead of local timestamps.
[xonotic/xonstatdb.git] / tables / players.tab
index b51fb3380e60bc59789d1548d05abdde8d5d6fda..b75a53adfb89420361d1a32a1f94414a2c2d7c83 100644 (file)
@@ -4,7 +4,7 @@ CREATE TABLE xonstat.players
   nick character varying(128),
   stripped_nick character varying(128),
   "location" character varying(100),
-  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 players_pk PRIMARY KEY (player_id)
 )
 WITH (