need those indexes correctly
This commit is contained in:
parent
3e0deaef67
commit
b3be24eca2
1 changed files with 0 additions and 2 deletions
|
@ -8,7 +8,6 @@ class AddIndexes < ActiveRecord::Migration
|
|||
add_index :collection_albums, :collection_id
|
||||
add_index :collection_albums, :album_id
|
||||
add_index :photos, :album_id
|
||||
add_index :photos, :photo_id
|
||||
add_index :photo_tags, :tag_id
|
||||
add_index :photo_tags, :photo_id
|
||||
end
|
||||
|
@ -22,7 +21,6 @@ class AddIndexes < ActiveRecord::Migration
|
|||
remove_index :collection_albums, :collection_id
|
||||
remove_index :collection_albums, :album_id
|
||||
remove_index :photos, :album_id
|
||||
remove_index :photos, :photo_id
|
||||
remove_index :photo_tags, :tag_id
|
||||
remove_index :photo_tags, :photo_id
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue