X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=tables%2Fplayer_elos.tab;h=104c8c1e53f0fba3639ffdc3a2846c0815318e29;hb=0f5016618462ab2cc3b32744e52006f17a0ca7b5;hp=0c0e024c3bc6d98738e9a5373e851971081a0618;hpb=eb97921e2c8c78c7082d8bf4dc8fe016bb190a30;p=xonotic%2Fxonstatdb.git diff --git a/tables/player_elos.tab b/tables/player_elos.tab index 0c0e024..104c8c1 100755 --- a/tables/player_elos.tab +++ b/tables/player_elos.tab @@ -4,7 +4,9 @@ CREATE TABLE xonstat.player_elos game_type_cd character varying(10) NOT NULL, games integer NOT NULL default 0, 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