]> git.xonotic.org Git - xonotic/xonstatdb.git/blobdiff - build/build_full.sql
Add player_medals to the build.
[xonotic/xonstatdb.git] / build / build_full.sql
index fe6082748068436ddb25726798e252a7332cde2c..86f1c6f795e9c3e22785bb13c3351fb6ea36e7d2 100755 (executable)
@@ -1,4 +1,9 @@
 -- drop tables first in reverse order
+drop table if exists player_medals;
+drop table if exists active_maps_mv;
+drop table if exists active_servers_mv;
+drop table if exists active_players_mv;
+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;
@@ -53,6 +58,11 @@ drop table if exists players cascade;
 \i tables/team_game_stats.tab
 \i tables/player_game_anticheats.tab
 \i tables/player_groups.tab
+\i tables/summary_stats_mv.tab
+\i tables/active_players_mv.tab
+\i tables/active_servers_mv.tab
+\i tables/active_maps_mv.tab
+\i tables/player_medals.tab
 
 begin;
 
@@ -111,6 +121,13 @@ insert into cd_weapon(weapon_cd, descr) values('tuba', '@!#%''n Tuba');
 insert into cd_weapon(weapon_cd, descr) values('hlac', 'Heavy Laser Assault Cannon');
 insert into cd_weapon(weapon_cd, descr) values('hook', 'Grappling Hook');
 insert into cd_weapon(weapon_cd, descr) values('porto', 'Port-O-Launch');
+insert into cd_weapon(weapon_cd, descr) values('blaster', 'Blaster');
+insert into cd_weapon(weapon_cd, descr) values('devastator', 'Devastator');
+insert into cd_weapon(weapon_cd, descr) values('machinegun', 'Machine Gun');
+insert into cd_weapon(weapon_cd, descr) values('mortar', 'Mortar');
+insert into cd_weapon(weapon_cd, descr) values('vaporizer', 'Vaporizer');
+insert into cd_weapon(weapon_cd, descr) values('vortex', 'Vortex');
+insert into cd_weapon(weapon_cd, descr) values('arc', 'Arc');
 
 -- achievements
 insert into cd_achievement(achievement_cd, descr, active_ind)