Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # this is due to break change in Mysql 5.7.x, and latest Rails4.2.x already have this patched.
- # remove this file when upgrade to Rails 4.2.x
- class ActiveRecord::ConnectionAdapters::Mysql2Adapter
- NATIVE_DATABASE_TYPES[:primary_key] = "int(11) auto_increment PRIMARY KEY"
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement