rails/rails — pull request #15951 by pcreux (2014-06-28 00:39:10+00:00)
Title: MySQL doesn't work with foreign keys

This was previously fixed in e84799d but broken in 3f596f8. This commit
reintroduced the conditional that prevents the foreign keys from being
added to MySQL databases.