master
1class AddSomeMoreMissingIndexes < ActiveRecord::Migration
2 def change
3 add_index :locations, [:locatable_id, :locatable_type]
4 add_index :photos, [:imageable_id, :imageable_type]
5 add_index :creations, :category_id
6 add_index :categories, :slug
7 end
8end