Add Column In Table Using Migration In Laravel | Laravel Tutorial

preview_player
Показать описание
In this laravel tutorial, add column in table using migrations in laravel.

Code: (branch: migrations)

Steps:
Create Migration in Laravel using command
php artisan make:migration filename

In up function, write code for add column

In down function, write code for dropping that particular column

Video Timing:
Introduction: 00:00
Create migration for add column : 01:40
Add column: 02:25
Run migration: 02:53

Documentation:

#php #laravel #knowledgethrusters
Рекомендации по теме