Repro for Rails #5738.

rake db:drop db:create db:migrate test:models