Sha256: 868a5ff414603d6aef0998b263167aebe8c47d7c0227324d879f6b341c53b5f7

Contents?: true

Size: 391 Bytes

Versions: 136

Compression:

Stored size: 391 Bytes

Contents

# This migration comes from acts_as_taggable_on_engine (originally 5)
# This migration is added to circumvent issue #623 and have special characters
# work properly
class ChangeCollationForTagNames < ActiveRecord::Migration
  def up
    if ActsAsTaggableOn::Utils.using_mysql?
      execute("ALTER TABLE tags MODIFY name varchar(255) CHARACTER SET utf8 COLLATE utf8_bin;")
    end
  end
end

Version data entries

136 entries across 136 versions & 6 rubygems

Version Path
calagator-1.0.0 spec/dummy/db/migrate/20190419234221_change_collation_for_tag_names.acts_as_taggable_on_engine.rb
blogit-1.1.2 spec/dummy/db/migrate/20150705003228_change_collation_for_tag_names.acts_as_taggable_on_engine.rb
alchemy-devise-3.6.0 spec/dummy/db/migrate/20160518190427_change_collation_for_tag_names.acts_as_taggable_on_engine.rb
alchemy-devise-3.5.0 spec/dummy/db/migrate/20160518190427_change_collation_for_tag_names.acts_as_taggable_on_engine.rb
blacklight-spotlight-0.34.1 db/migrate/20150410180016_change_collation_for_tag_names.acts_as_taggable_on_engine.rb
blacklight-spotlight-0.34.0 db/migrate/20150410180016_change_collation_for_tag_names.acts_as_taggable_on_engine.rb
blacklight-spotlight-0.33.3 db/migrate/20150410180016_change_collation_for_tag_names.acts_as_taggable_on_engine.rb
blacklight-spotlight-0.33.2 db/migrate/20150410180016_change_collation_for_tag_names.acts_as_taggable_on_engine.rb
blacklight-spotlight-0.33.1 db/migrate/20150410180016_change_collation_for_tag_names.acts_as_taggable_on_engine.rb
blacklight-spotlight-0.33.0 db/migrate/20150410180016_change_collation_for_tag_names.acts_as_taggable_on_engine.rb
blacklight-spotlight-0.32.0 db/migrate/20150410180016_change_collation_for_tag_names.acts_as_taggable_on_engine.rb
blacklight-spotlight-0.31.0 db/migrate/20150410180016_change_collation_for_tag_names.acts_as_taggable_on_engine.rb
blacklight-spotlight-0.30.0 db/migrate/20150410180016_change_collation_for_tag_names.acts_as_taggable_on_engine.rb
alchemy-devise-3.5.0.beta spec/dummy/db/migrate/20160518190427_change_collation_for_tag_names.acts_as_taggable_on_engine.rb
alchemy-devise-3.4.0 spec/dummy/db/migrate/20160518190427_change_collation_for_tag_names.acts_as_taggable_on_engine.rb
blacklight-spotlight-0.29.1 db/migrate/20150410180016_change_collation_for_tag_names.acts_as_taggable_on_engine.rb
dorsale-3.1.1 spec/dummy/db/migrate/20150624081208_change_collation_for_tag_names.acts_as_taggable_on_engine.rb
blacklight-spotlight-0.29.0 db/migrate/20150410180016_change_collation_for_tag_names.acts_as_taggable_on_engine.rb
dorsale-3.1.0 spec/dummy/db/migrate/20150624081208_change_collation_for_tag_names.acts_as_taggable_on_engine.rb
dorsale-3.0.3 spec/dummy/db/migrate/20150624081208_change_collation_for_tag_names.acts_as_taggable_on_engine.rb