Add regression test for https://github.com/rails/rails/pull/40178#issuecomment-688222844
Add regression test for https://github.com/rails/rails/pull/40178#issuecomment-688222844

It is a common use case especially for MySQL users.

kmcphillips/rails,esparta/rails,lcreid/rails,MSP-Greg/rails,rails/rails,Envek/rails,kddeisz/rails,yawboakye/rails,eileencodes/rails,tgxworld/rails,BlakeWilliams/rails,georgeclaghorn/rails,kddeisz/rails,yahonda/rails,vipulnsward/rails,kmcphillips/rails,rails/rails,yalab/rails,yawboakye/rails,tjschuck/rails,Edouard-chin/rails,Envek/rails,rails/rails,bogdanvlviv/rails,Vasfed/rails,Edouard-chin/rails,tjschuck/rails,tgxworld/rails,EmmaB/rails-1,joonyou/rails,Stellenticket/rails,georgeclaghorn/rails,eileencodes/rails,joonyou/rails,rafaelfranca/omg-rails,lcreid/rails,tgxworld/rails,Erol/rails,bogdanvlviv/rails,bogdanvlviv/rails,MSP-Greg/rails,kmcphillips/rails,joonyou/rails,vipulnsward/rails,BlakeWilliams/rails,georgeclaghorn/rails,BlakeWilliams/rails,esparta/rails,MSP-Greg/rails,yahonda/rails,yawboakye/rails,EmmaB/rails-1,yalab/rails,MSP-Greg/rails,schuetzm/rails,Stellenticket/rails,Vasfed/rails,betesh/rails,eileencodes/rails,tgxworld/rails,yalab/rails,vipulnsward/rails,yahonda/rails,Stellenticket/rails,Erol/rails,Erol/rails,rafaelfranca/omg-rails,tjschuck/rails,kmcphillips/rails,rafaelfranca/omg-rails,kddeisz/rails,Vasfed/rails,yawboakye/rails,EmmaB/rails-1,Envek/rails,esparta/rails,Edouard-chin/rails,tjschuck/rails,Erol/rails,betesh/rails,yalab/rails,schuetzm/rails,schuetzm/rails,Edouard-chin/rails,vipulnsward/rails,yahonda/rails,schuetzm/rails,Envek/rails,georgeclaghorn/rails,betesh/rails,kddeisz/rails,lcreid/rails,esparta/rails,BlakeWilliams/rails,Stellenticket/rails,bogdanvlviv/rails,eileencodes/rails,rails/rails,lcreid/rails,betesh/rails,joonyou/rails,Vasfed/rails