blob: 110a3d9a4a9e93a66e4ff6e624b11e91e5b190b5 (
plain)
1
2
3
4
5
6
7
8
|
class AddSomeMoreMissingIndexes < ActiveRecord::Migration
def change
add_index :locations, [:locatable_id, :locatable_type]
add_index :photos, [:imageable_id, :imageable_type]
add_index :creations, :category_id
add_index :categories, :slug
end
end
|