]> git.rm.cloudns.org Git - xonotic/xonstatdb.git/commitdiff
Consolidate indexes for the games table.
authorAnt Zucaro <azucaro@gmail.com>
Tue, 26 Jan 2016 14:42:25 +0000 (09:42 -0500)
committerAnt Zucaro <azucaro@gmail.com>
Tue, 26 Jan 2016 14:42:25 +0000 (09:42 -0500)
scripts/gen_partitions.shl

index 4a767424c825e1d46eb7b7145c9b8f68280ace9f..1b68000f933229ddd7c3e68f134ee984b5dd7933 100755 (executable)
@@ -48,11 +48,6 @@ do
             printf "CREATE INDEX %s_%s%s_ix002 on %s_%s%s(game_id);\n" $table $year $qtr $table $year $qtr
         fi
 
-        if [[ $table = "games" ]]
-        then
-            printf "CREATE INDEX %s_%s%s_ix002 on %s_%s%s using gin(players);\n" $table $year $qtr $table $year $qtr
-        fi
-
         printf "\n"
     done
 done