MasoniteFramework / orm

Masonite ORM is a beautiful Python ORM. It's also a nearly drop in replacement of the Orator ORM
https://orm.masoniteproject.com
MIT License
160 stars 47 forks source link

Implement migrate:fresh #860

Open eaguad1337 opened 8 months ago

eaguad1337 commented 8 months ago

Describe the feature as you'd like to see it The command migrate:refresh allows you to rollback all the migrations and run it again. But if your migrations are corrupted you won't be able to rollback everything.

It would be nice to have a migrate:fresh to give the database a fresh start. Just like Laravel does.

What do we currently have to do now? You can drop all the tables manually and migrate again.

Additional context Add any other context or screenshots about the feature request here. No.