-- drop tables first in reverse order
+drop table if exists summary_stats_mv;
drop table if exists player_groups;
drop table if exists player_game_anticheats;
drop table if exists team_game_stats;
\i tables/team_game_stats.tab
\i tables/player_game_anticheats.tab
\i tables/player_groups.tab
+\i tables/summary_stats_mv.tab
begin;
--- /dev/null
+CREATE TABLE summary_stats_mv (
+ scope character varying(30),
+ sort_order integer,
+ num_players integer,
+ game_type_cd character varying(10),
+ num_games integer
+);
+
+ALTER TABLE xonstat.summary_stats_mv OWNER TO xonstat;