Sorry that i stated not clear, the problem is about that the database won't rollback to the original.

the table that has been created during SafeUp should be rollback and disappear if they encounter any error right?

Thank you.

Well yes and no.

Quote from documentation:

Quote

Note: Not all DBMS support transactions. And some DB queries cannot be put into a transaction. In this case, you will have to implement up() and down(), instead. And for MySQL, some SQL statements may cause implicit commit.

I can't add link to my post but go to mysql manual and search for term: implicit commit