Skip to content

Laravel 5.5 New feature- Fresh Migrations

Last updated on February 17, 2018

In Laravel 5.5 a new Artisan command added to migrate: namespace. This is similar to the existing migrate:refresh option, however, rather than rolling back your existing migrations, migrate:fresh drops all the table and migrates them from scratch.

  php artisan migrate:fresh

The only difference between a refresh command and fresh command is, the fresh command simply drops all the table and starts from scratch, where refresh command runs the drop method for each migration.

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Most Voted
Newest Oldest
Inline Feedbacks
View all comments