ensl.org/config/initializers/abstract_mysql2_adapter.rb
2018-11-22 19:46:46 -05:00

5 lines
No EOL
194 B
Ruby

require 'active_record/connection_adapters/mysql2_adapter'
class ActiveRecord::ConnectionAdapters::Mysql2Adapter
NATIVE_DATABASE_TYPES[:primary_key] = "int(11) auto_increment PRIMARY KEY"
end