diff --git a/db/migrate/6_add_missing_indexes.rb b/db/migrate/6_add_missing_indexes_on_taggings.rb similarity index 85% rename from db/migrate/6_add_missing_indexes.rb rename to db/migrate/6_add_missing_indexes_on_taggings.rb index 667c9e33f..8345ae33b 100644 --- a/db/migrate/6_add_missing_indexes.rb +++ b/db/migrate/6_add_missing_indexes_on_taggings.rb @@ -1,4 +1,4 @@ -class AddMissingIndexes < ActiveRecord::Migration +class AddMissingIndexesOnTaggings < ActiveRecord::Migration def change add_index :taggings, :tag_id add_index :taggings, :taggable_id