As MySQL InnoDB implict commits on a table alteration Doctrine migrations that error will leave a database inbetween states. This plugin uses mysqldump to back up the database prior to migration and restores it on failure. This also allows you to use a dry run