mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-27 21:10:54 +00:00
6 lines
195 B
Ruby
6 lines
195 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
|