Skip to content

Commit

Permalink
Merge pull request #473 from gerard-leijdekkers/master
Browse files Browse the repository at this point in the history
FIX: Corrected migration index typo
  • Loading branch information
seuros committed Jan 31, 2014
2 parents de6af63 + f7c55c5 commit cd74e9f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ As such, a _Feature_ would map to either major or minor. A _bug fix_ to a patch.
* [@znz #456 Fix breaking encoding of tag](https://github.com/mbleigh/acts-as-taggable-on/pull/456)
* [@rgould #417 Let '.count' work when tagged_with is accompanied by a group clause](https://github.com/mbleigh/acts-as-taggable-on/pull/417)
* [@developer88 #461 Move 'Distinct' out of select string and use .uniq instead](https://github.com/mbleigh/acts-as-taggable-on/pull/461)
* [@gerard-leijdekkers #473 Fixed down migration index name](https://github.com/mbleigh/acts-as-taggable-on/pull/473)
* Misc
* [@billychan #463 Thread safe support](https://github.com/mbleigh/acts-as-taggable-on/pull/463)
* [@billychan #386 Add parse:true instructions to README](https://github.com/mbleigh/acts-as-taggable-on/pull/386)
Expand Down
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

0 comments on commit cd74e9f

Please sign in to comment.