diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-01-22 09:54:14 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-02-04 20:28:14 +0900 |
commit | 605837a61933fc1e94097eea30e659bb9ef516eb (patch) | |
tree | f722b4a3b8b8852f70fe782b27b173cb9dde74b1 /activerecord/test/cases/relation/where_chain_test.rb | |
parent | d13bc5df902a2c82c3096b627830be97acbedf50 (diff) | |
download | rails-605837a61933fc1e94097eea30e659bb9ef516eb.tar.gz rails-605837a61933fc1e94097eea30e659bb9ef516eb.tar.bz2 rails-605837a61933fc1e94097eea30e659bb9ef516eb.zip |
Correctly dump integer-like primary key with default nil
The PR #27384 changed integer-like primary key to be autoincrement
unless an explicit default. This means that integer-like primary key is
restored as autoincrement unless dumping the default nil explicitly.
We should dump integer-like primary key with default nil correctly.
Diffstat (limited to 'activerecord/test/cases/relation/where_chain_test.rb')
0 files changed, 0 insertions, 0 deletions