Sha256: 2a475370c1c935f7957bdc53e420fda2389fadf1f1482620c5adf63ab5c11a12
Contents?: true
Size: 481 Bytes
Versions: 3
Compression:
Stored size: 481 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[4.2] def up # inserted by Alchemy CMS upgrader return unless defined?(ActsAsTaggableOn) 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
3 entries across 3 versions & 1 rubygems