Fix delete machine

Excluded migration table from deleting