CREATE SCHEMA xonstat
AUTHORIZATION xonstat;
-Create the pgplsql language, if it doesn't exist:
+Create the plpgsql language, if it doesn't exist:
CREATE LANGUAGE plpgsql;
+++ /dev/null
-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'),
- CONSTRAINT active_maps_mv_pk PRIMARY KEY (sort_order)
-);
-
-ALTER TABLE xonstat.active_maps_mv OWNER TO xonstat;
--- /dev/null
+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'),
+ CONSTRAINT active_maps_mv_pk PRIMARY KEY (sort_order)
+);
+
+ALTER TABLE xonstat.active_maps_mv OWNER TO xonstat;