added add_foreign_key method for alter table to add single foreign key