]> de.git.xonotic.org Git - xonotic/xonstatdb.git/blob - scripts/update_elos.sql
Add elo rot script.
[xonotic/xonstatdb.git] / scripts / update_elos.sql
1 begin;
2   update player_elos
3   set elo=least(elo-1, 100.00)
4   where update_dt < (current_timestamp at time zone 'UTC' - interval '30 days');
5 end;