Is there a way to revert my mysql database after a Laravel Dusk migration rollback?

28 Views Asked by At

I was starting to learn how to properly use Dusk to make browser tests and I accidentally ran a test class which had use DatabaseMigration; in it and it ran on my local dev db instead of the testing db.

Is there a way to revert this? I'm using Laravel 8.2 and MySql 8.0.29.

Is there a way to prevent this from happening in the future? Like a check or something?

Thank you.

0

There are 0 best solutions below