From: Ant Zucaro Date: Sat, 30 Jan 2016 19:52:50 +0000 (-0500) Subject: Add an MV for active servers. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5a88d5b04d8e950680a1417a3100c09165f57bbf;p=xonotic%2Fxonstatdb.git Add an MV for active servers. --- diff --git a/tables/active_servers_mv.tab b/tables/active_servers_mv.tab new file mode 100755 index 0000000..28fcb6d --- /dev/null +++ b/tables/active_servers_mv.tab @@ -0,0 +1,9 @@ +create table active_servers_mv( + sort_order integer, + server_id bigint, + server_name character varying(128), + games integer, + create_dt timestamp without time zone default (now() at time zone 'UTC') +); + +ALTER TABLE xonstat.active_servers_mv OWNER TO xonstat;