From: Ant Zucaro Date: Sun, 2 Dec 2012 13:03:23 +0000 (-0500) Subject: Add an update_dt to the player_elos table. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=1395711cc70c69e8aa48116a2f2764806ba51430;p=xonotic%2Fxonstatdb.git Add an update_dt to the player_elos table. --- diff --git a/tables/player_elos.tab b/tables/player_elos.tab index da01eb0..104c8c1 100755 --- a/tables/player_elos.tab +++ b/tables/player_elos.tab @@ -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