Sha256: e10c60379c2664e4f34873e6ab3f65c88a68209111f47e9a2b15493981398b87
Contents?: true
Size: 452 Bytes
Versions: 6
Compression:
Stored size: 452 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 # rubocop:disable LineLength def up if ActsAsTaggableOn::Utils.using_mysql? execute("ALTER TABLE tags MODIFY name varchar(255) CHARACTER SET utf8 COLLATE utf8_bin;") end end # rubocop:enable LineLength end
Version data entries
6 entries across 6 versions & 1 rubygems