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 4a76742..1b68000 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