Alter Table Using Migration | How to add new column to existing table using migration | Laravel 8

preview_player
Показать описание
How to add new column to existing table using migration | Alter Table Using Migration | Laravel tutorial | Laravel 8

From this video we will learn about -
What is migration
How to create migration
How to add column in migration file
How to run migration
How to alter table using migration
and some discussion about laravel migration

Please comment your feedback and support me by subscribing to this channel.

#laravel #migration #php
Рекомендации по теме
Комментарии
Автор

Thanks you so much, it's very helpful for my project

kokilavani
Автор

I have a question if we had to update the table next time so then will we either had to create new migration file too?
I mean we update it today, but then the next few days later we need to make another update, then could we use the old migration file before, or we had to create a new one for it?

pivardonesta
Автор

Is this the only lengthy process available?

redstarentertainment
Автор

(it will empty the table) If you want to update your columns you can use php artisan migrate:refresh. This will work even after we run php artisan migrate and i think this is incredible :)

samhaze
Автор

hello
Nice Video bro
but i am getting error, BASE Table Or View not found!
I am following your video but getting error

theasmrfriend
Автор

how about if the website already hosted?i cannot run the php artisan command.how to do the alter table?thank you

zai
Автор

How do I add two columns at once to the existing table using migration?

rubichaudhary
Автор

hello, i want users table change want. how ? plz

RealChaosLab