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
blacklight-spotlight-0.19.0 db/migrate/20150410180016_change_collation_for_tag_names.acts_as_taggable_on_engine.rb
dorsale-3.0.0 spec/dummy/db/migrate/20150624081208_change_collation_for_tag_names.acts_as_taggable_on_engine.rb
blacklight-spotlight-0.18.0 db/migrate/20150410180016_change_collation_for_tag_names.acts_as_taggable_on_engine.rb
dorsale-2.7.3 spec/dummy/db/migrate/20150624081208_change_collation_for_tag_names.acts_as_taggable_on_engine.rb
dorsale-2.7.2 spec/dummy/db/migrate/20150624081208_change_collation_for_tag_names.acts_as_taggable_on_engine.rb
dorsale-2.7.1 spec/dummy/db/migrate/20150624081208_change_collation_for_tag_names.acts_as_taggable_on_engine.rb
dorsale-2.7.0 spec/dummy/db/migrate/20150624081208_change_collation_for_tag_names.acts_as_taggable_on_engine.rb
dorsale-2.6.8 spec/dummy/db/migrate/20150624081208_change_collation_for_tag_names.acts_as_taggable_on_engine.rb
alchemy-devise-3.3.0 spec/dummy/db/migrate/20160518190427_change_collation_for_tag_names.acts_as_taggable_on_engine.rb
dorsale-2.6.7 spec/dummy/db/migrate/20150624081208_change_collation_for_tag_names.acts_as_taggable_on_engine.rb
dorsale-2.6.6 spec/dummy/db/migrate/20150624081208_change_collation_for_tag_names.acts_as_taggable_on_engine.rb
dorsale-2.6.5 spec/dummy/db/migrate/20150624081208_change_collation_for_tag_names.acts_as_taggable_on_engine.rb
dorsale-2.6.4 spec/dummy/db/migrate/20150624081208_change_collation_for_tag_names.acts_as_taggable_on_engine.rb
dorsale-2.6.3 spec/dummy/db/migrate/20150624081208_change_collation_for_tag_names.acts_as_taggable_on_engine.rb
dorsale-2.6.2 spec/dummy/db/migrate/20150624081208_change_collation_for_tag_names.acts_as_taggable_on_engine.rb
dorsale-2.6.1 spec/dummy/db/migrate/20150624081208_change_collation_for_tag_names.acts_as_taggable_on_engine.rb
dorsale-2.6.0 spec/dummy/db/migrate/20150624081208_change_collation_for_tag_names.acts_as_taggable_on_engine.rb
dorsale-2.5.0 spec/dummy/db/migrate/20150624081208_change_collation_for_tag_names.acts_as_taggable_on_engine.rb
dorsale-2.4.3 spec/dummy/db/migrate/20150624081208_change_collation_for_tag_names.acts_as_taggable_on_engine.rb
dorsale-2.4.2 spec/dummy/db/migrate/20150624081208_change_collation_for_tag_names.acts_as_taggable_on_engine.rb