From: Ant Zucaro Date: Tue, 2 Feb 2016 01:49:27 +0000 (-0500) Subject: Add an MV for active maps. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a7cc28a5905f3b87151f7412b6bbe30791d3061a;p=xonotic%2Fxonstatdb.git Add an MV for active maps. --- diff --git a/tables/active_maps_mv.sql b/tables/active_maps_mv.sql new file mode 100755 index 0000000..f7afdae --- /dev/null +++ b/tables/active_maps_mv.sql @@ -0,0 +1,9 @@ +create table active_maps_mv( + sort_order integer, + map_id bigint, + map_name character varying(128), + games integer, + create_dt timestamp without time zone default (now() at time zone 'UTC') +); + +ALTER TABLE xonstat.active_maps_mv OWNER TO xonstat;