rails-bigint-pk
rails-bigint-pk copied to clipboard
Add MySQL 5.7 support.
Mysql2::Error: All parts of a PRIMARY KEY must be NOT NULL.
@ROMOPAT tests seem to have some problems?
Is that syntax backwards compatible? It looks like there are duplicate keys, but it might be a testing issues.
/home/travis/.rvm/gems/ruby-2.1.1/gems/activerecord-3.2.17/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:245:in `query': Mysql2::Error: Duplicate entry '2147483647' for key 'PRIMARY': insert into empires values(2147483648) (ActiveRecord::RecordNotUnique)
The tests had gotten rusty since the last time they were run. I got them passing then merged these commits and fixed the test breakage. @ROMOPAT please give the rails3 branch a whirl and if it looks good to you I'll release it.