Skip to content

Commit

Permalink
Fixed down migration index name
Browse files Browse the repository at this point in the history
  • Loading branch information
gerard76 committed Jan 31, 2014
1 parent de6af63 commit 035b5d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/migrate/2_add_missing_unique_indices.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def self.up
def self.down
remove_index :tags, :name

remove_index :taggings, name: 'tagging_idx'
remove_index :taggings, name: 'taggings_idx'
add_index :taggings, :tag_id
add_index :taggings, [:taggable_id, :taggable_type, :context]
end
Expand Down

4 comments on commit 035b5d2

@seuros
Copy link

@seuros seuros commented on 035b5d2 Jan 31, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch! Can you edit the changelog.md as well, rebase and force push ?

@gerard76
Copy link
Owner Author

@gerard76 gerard76 commented on 035b5d2 Jan 31, 2014 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@seuros
Copy link

@seuros seuros commented on 035b5d2 Jan 31, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry but that not the correct format.
it should be '@gerard-leijdekkers mbleigh#473 Fixed down migration index typo' as a link to the pull request itself.

@gerard76
Copy link
Owner Author

@gerard76 gerard76 commented on 035b5d2 Jan 31, 2014 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.