Laravel 6 Tutorial for Beginners #14 - More on Migrations

preview_player
Показать описание
Hey gang, in this Laravel tutorial we'll talk a little bit more about migrations - rolling back migrations, migration status, refresh etc.

🐱‍👤🐱‍👤 JOIN THE GANG -
----------------------------------------
🐱‍💻 🐱‍💻 My Udemy Courses:

🐱‍💻 🐱‍💻 Course Links:

🐱‍💻 🐱‍💻 Other Related Free Courses:

🐱‍💻 🐱‍💻 The Net Ninja Community Boards:
Рекомендации по теме
Комментарии
Автор

These videos keep me busy and not focused on the things going on outside.


Much love from an expat in China.

kreatur_
Автор

Never seen any like this tutorial so simplified and easy to understand. Much love from the Philippines. Please keep doing this kind of tutorial :)

MikeMike-zcnq
Автор

If you are wondering why rollback is not working on the last demo, it is because the down function in migration file `add_price_to_pizzas_table` is empty. If you want to delete the column, just simply add in the function and try to rollback. It will delete the price column without deleting the existing data.

romualdomariano
Автор

On one side, as a Django developer, I find Laravel's migration to be quite clumsy.

On another side, as a teacher, I'm impressed by your teaching skills. This would have been really tough for me to grasp without your clear explanations.

geoafrikana
Автор

your tutorial makes laravel very easy to understand. thank you so much!

nadiraezrin
Автор

Liked first ;
Hey you too bro,
Keeep the good work dude

Greetings from Tanzania 🇹🇿

raymondmichael
Автор

you're really good at explaining, thank you, finishing all vidoes soon

theekingyodah
Автор

I lost a full day because I had an accident. A motorcyclist ran over me and ran away! Can you believe that?! I wanted to get across the street, walking exactly on pedestrian crossing of course, and all of a sudden a motorcycle hit me from opposite direction of street! my eyebrow split open and medics fixed it with three stitches. I feel ok, albeit of a dull aching in all of my body. My ribs and right arm hurts like hell too! Anyway, I got back to my studies. I'm a true ninja, so no one can stop me from becoming a good web developer! Wish me fast, full recovery master ninja! And I hope I find that bastard. Hit and run is not tolerable!

RameenFallschirmjager
Автор

How to change the color ?
eg: migrate:reset is green and explication for that command is white

You're the best keep it going <3

benyr
Автор

missing the down function, is it the new laravel?

public function down()
{
Schema::table('pizzas', function (Blueprint $table) {
// to drop column

});
}

mamamat
Автор

these are the best laravel tutorials, please tell, which color scheme are you using ??

ahmadramzan
Автор

If using a newer Laravel Version, doesn't need the table at the and of name of migration, like this:

php artisan make:migration add_price_to_pizzas

instead of:

php artisan make:migration add_price_to_pizzas_table

ShurekHam
Автор

@ 6:08 I thought you said a "shitload" of data 😂😂😂
btw your videos are awesome, thank you!

SyfJO
Автор

Hi net ninja, really enjoying your tutorials and it's a great way to spend time in quarantine. Question: why don't I have the create_password_resets_table migration as a default? Should I add it manually?

benjaminlai
Автор

What if you need to add two columns in pizzas, what will be the naming convention?
Like php artisan make:migration add_values_to_pizzas_table?

salmanazmat
Автор

Hi, in the video I think that missing the down function when you create migration for add column

IlMaro
Автор

If the table 'pizzas' that already exists in db contained some records and you run 'php artisan migrate' again, would that empty the existing table?

upliftingspirit
Автор

How do you delete a column instead from an existing table??

rigelr
Автор

What is your next course for udemy ??

ayushgandhi
Автор

what if i already created tables in my database ? do i still need to migrate ?

felc_