From: Ant Zucaro Date: Sat, 30 Jan 2016 19:47:30 +0000 (-0500) Subject: Add an MV for active players. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=18d3512ec6a5ece76322093ab9d987ee881a020f;p=xonotic%2Fxonstatdb.git Add an MV for active players. --- diff --git a/tables/active_players_mv.tab b/tables/active_players_mv.tab new file mode 100755 index 0000000..0d22213 --- /dev/null +++ b/tables/active_players_mv.tab @@ -0,0 +1,9 @@ +create table active_players_mv( + sort_order integer, + player_id bigint, + nick character varying(128), + alivetime interval, + create_dt timestamp without time zone default (now() at time zone 'UTC') +); + +ALTER TABLE xonstat.active_players_mv OWNER TO xonstat;