From: Ant Zucaro Date: Sun, 30 Nov 2014 13:22:47 +0000 (-0500) Subject: Add team_game_stats to the mix. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a08488f2522606743cc69c71aeff4a00b7169254;p=xonotic%2Fxonstatdb.git Add team_game_stats to the mix. --- diff --git a/scripts/gen_partitions.shl b/scripts/gen_partitions.shl index 963f829..5c47605 100755 --- a/scripts/gen_partitions.shl +++ b/scripts/gen_partitions.shl @@ -35,6 +35,11 @@ do printf "CREATE INDEX %s_%s%s_ix002 on %s_%s%s(game_id);\n" $table $year $qtr $table $year $qtr printf "CREATE INDEX %s_%s%s_ix003 on %s_%s%s(player_id);\n" $table $year $qtr $table $year $qtr fi + + if [[ $table = "team_game_stats" ]] + then + printf "CREATE INDEX %s_%s%s_ix002 on %s_%s%s(game_id);\n" $table $year $qtr $table $year $qtr + fi printf "\n" done done