about summary refs log tree commit diff stats
path: root/config/initializers/mysql_utf8mb4_fix.rb
blob: 838802791deaba73a3f11f68188d688bc7930be6 (plain) (blame)
1
2
3
4
5
6
7
8
9
require 'active_record/connection_adapters/abstract_mysql_adapter'

module ActiveRecord
  module ConnectionAdapters
    class AbstractMysqlAdapter
      NATIVE_DATABASE_TYPES[:string] = { :name => "varchar", :limit => 191 }
    end
  end
end