Sha256: 70b9df8d584079492447e883f46a8569e6ae5f019536feea5cdedf6375a0b574
Contents?: true
Size: 367 Bytes
Versions: 10
Compression:
Stored size: 367 Bytes
Contents
# This migration is added to circumvent issue #623 and have special characters # work properly class ChangeCollationForSpreeTagNames < ActiveRecord::Migration[4.2] def up if defined?(ActsAsTaggableOn) && ActsAsTaggableOn::Utils.using_mysql? execute("ALTER TABLE spree_tags MODIFY name varchar(255) CHARACTER SET utf8 COLLATE utf8_bin;") end end end
Version data entries
10 entries across 10 versions & 1 rubygems