Posted by Arjun on Sunday 9th July 2017

Laravel 5.5 New feature- Fresh Migrations

Laravel 5.x Laravel 5.5 Migrations

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.