Laravel 5.5 New feature- Fresh 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.

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.

I hope you like this Post, Please feel free to comment below, your suggestion and problems if you face - we are here to solve your problems.

Arjun
I am Arjun from Hyderabad (India). I have been working as a software engineer from last 7+ years, and its my passion to learn new things and implement them as a practice. Aside from work, I likes gardening and spending time with pets.
DMCA.com Protection Status