removes foreign keys to enable upgrade to rails 4.1.5