Solving problem with quotes and issue when deleting a key

There was a problem with double quotes in the generated SQL. Example: alter table add column name `` id `` 

There was a problem when deleting a key before deleting a related foreign key: mysql can not delete a key if this key is used in a foreign key