]> de.git.xonotic.org Git - xonotic/xonstatdb.git/blobdiff - tables/achievements.tab
Add an active indicator to player_elo.
[xonotic/xonstatdb.git] / tables / achievements.tab
index 1ce2cde69afceb77942506fb59e2b057fb0ac0e8..139e777bdfa7e18f757db36478ae16a8784eb485 100644 (file)
@@ -3,7 +3,7 @@ CREATE TABLE xonstat.achievements
   achievement_id serial NOT NULL,
   achievement_cd integer NOT NULL,
   player_id integer NOT NULL,
-  create_dt timestamp with time zone NOT NULL DEFAULT now(),
+  create_dt timestamp without time zone NOT NULL DEFAULT (current_timestamp at time zone 'UTC'),
   CONSTRAINT achievements_pk PRIMARY KEY (achievement_id),
   CONSTRAINT achievements_fk001 FOREIGN KEY (achievement_cd)
       REFERENCES xonstat.cd_achievement (achievement_cd) MATCH SIMPLE