Laravel 5.5 lesson – 5 Migrations -Part 3 How to add new columns to existing tables
In this video I have discussed about how to add new columns to existing table using migrations.
Command used in this video:
## to migrate new migration files to database
php artisan migrate
## undo the previous migrations
php artisan migrate:rollback
## create new migration file to add new column to existing table
php artisan make:migration add_phone_number_to_customers_table –table=customers
Github link: https://github.com/rubanraj54/laravel-lessons/tree/master/blog
source