Skip to content

Commit

Permalink
Rename migration to avoid conflicts
Browse files Browse the repository at this point in the history
The AddMissingIndexes migration conflicts with migrations in other
gem(s), eg spree 3.1. The name has been made more specific to avoid
such conflicts.
  • Loading branch information
arpitchauhan committed Aug 8, 2016
1 parent 67cb90a commit 8aa9f8f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class AddMissingIndexes < ActiveRecord::Migration
class AddMissingIndexesOnTaggings < ActiveRecord::Migration
def change
add_index :taggings, :tag_id
add_index :taggings, :taggable_id
Expand Down

0 comments on commit 8aa9f8f

Please sign in to comment.