Loading
Channel: @PHPTechLife
In this tutorial, I will show you, how you can seed the database with relationships. Here I will use three tables: artists, albums, and songs. All these tables are related and have foreign keys, so I will insert relationship data in multiple tables with a single artisan command.
Laravel 9: Model Factories in Hindi:- https://youtu.be/s1ywrzEEjkk
Laravel 9: Database Seeding with fake data in Hindi:- https://youtu.be/HTzo_r4MaAM
👇 Our Blog: https://phpstepbystep.com/
👇 Follow Me On Social Media: https://www.facebook.com/phptechlife https://www.instagram.com/mohitsingh_techie https://twitter.com/phptechlife
#laravel #seed_database_with_relationship #laravel_seeding_and_factory
🔶 Youtube Equipments:-
🔶 Microphone
🔶 Keyboard