Fix mysql2 schema issue

This commit is contained in:
Ari Timonen 2018-11-22 19:38:34 -05:00
parent 8ccef9e224
commit 07c53b7469

View file

@ -0,0 +1,5 @@
require 'active_record/connection_adapters/mysql2_adapter'
class ActiveRecord::ConnectionAdapters::Mysql2Adapter
NATIVE_DATABASE_TYPES[:primary_key] = "int(11) auto_increment PRIMARY KEY"
end