Posted on Updated on - Arjun

Laravel 5.5 New feature- Fresh Migrations

Laravel 5.5 adds another Artisan command to the migrate: namespace. This is similar to migrate:refresh but rather than rolling back your existing migrations, it drops all tables and recreate every table.

The difference between rolling back migrations and dropping tables is that rolling back migrations runs the drop method for each of them and the migrate:fresh command simply drops all off of the tables and starts from scratch.

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