]> git.xonotic.org Git - xonotic/xonstatdb.git/commitdiff
Add an update_dt to the player_elos table.
authorAnt Zucaro <azucaro@gmail.com>
Sun, 2 Dec 2012 13:03:23 +0000 (08:03 -0500)
committerAnt Zucaro <azucaro@gmail.com>
Sun, 2 Dec 2012 13:03:23 +0000 (08:03 -0500)
tables/player_elos.tab

index da01eb01f8908f6b73c9e5f79e3cd6d832118693..104c8c1e53f0fba3639ffdc3a2846c0815318e29 100755 (executable)
@@ -6,6 +6,7 @@ CREATE TABLE xonstat.player_elos
   elo numeric NOT NULL,
   active_ind boolean NOT NULL default true,
   create_dt timestamp without time zone NOT NULL DEFAULT (current_timestamp at time zone 'UTC'),
+  update_dt timestamp without time zone NOT NULL DEFAULT (current_timestamp at time zone 'UTC'),
   CONSTRAINT player_elos_pk PRIMARY KEY (player_id, game_type_cd),
   CONSTRAINT player_elos_fk01 FOREIGN KEY (player_id)
       REFERENCES xonstat.players (player_id) MATCH SIMPLE