In this laravel tutorial, create database structure again using migrations in laravel.
Code: (branch: migrations)
https://github.com/sushma-singh-yadav...
Steps:
Create Migration in Laravel using command
php artisan migrate:fresh
php artisan migrate:refresh
In up function, write code for add column
In down function, write code for dropping that particular column
Video Timing:
Introduction: 00:00
Refresh migration: 01:04
Check Migration Status: 01:50
Display Sql Query: 02:00
Refresh migration with step: 02:25
Documentation:
https://laravel.com/docs/9.x/migrations
#php #laravel #knowledgethrusters