Sha256: 78e64659b0ea3dec8bf7d0e922adb2b86aafa70c204d062c4755c0a8dad467cd

Contents?: true

Size: 324 Bytes

Versions: 3

Compression:

Stored size: 324 Bytes

Contents

# This migration comes from make_taggable_engine (originally 3)
class ChangeTagNameCollationMysql < ActiveRecord::Migration[5.2]
  def change
    if MakeTaggable::Utils.using_mysql?
      execute("ALTER TABLE #{MakeTaggable.tags_table} MODIFY name varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;")
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
make_taggable-0.6.6 spec/dummy/db/migrate/20201121222009_change_tag_name_collation_mysql.make_taggable_engine.rb
make_taggable-0.6.5 spec/dummy/db/migrate/20201121222009_change_tag_name_collation_mysql.make_taggable_engine.rb
make_taggable-0.6.4 spec/dummy/db/migrate/20201121222009_change_tag_name_collation_mysql.make_taggable_engine.rb