]> git.xonotic.org Git - xonotic/xonstatdb.git/blob - tables/active_maps_mv.sql
Add an MV for active maps.
[xonotic/xonstatdb.git] / tables / active_maps_mv.sql
1 create table active_maps_mv(
2         sort_order integer,
3         map_id bigint,
4         map_name character varying(128),
5         games integer,
6         create_dt timestamp without time zone default (now() at time zone 'UTC')
7 );
8
9 ALTER TABLE xonstat.active_maps_mv OWNER TO xonstat;