From a7cc28a5905f3b87151f7412b6bbe30791d3061a Mon Sep 17 00:00:00 2001 From: Ant Zucaro Date: Mon, 1 Feb 2016 20:49:27 -0500 Subject: [PATCH] Add an MV for active maps. --- tables/active_maps_mv.sql | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 tables/active_maps_mv.sql 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; -- 2.39.2