Prevent foreign keys being recreated unnecessarily when modifying tables.