Fix IF EXISTS in alter table of sub _drop_foreign_keys