socialforge/config/initializers/abstract_mysql_adapter.rb

4 lines
137 B
Ruby

class ActiveRecord::ConnectionAdapters::Mysql2Adapter
NATIVE_DATABASE_TYPES[:primary_key] = "int(11) auto_increment PRIMARY KEY"
end