Laravel From Scratch [Part 10] – Model Relationships



In this video we will create a relationship between users and blog posts. We will add the users posts to their dashboard and make it so when they insert a post the user id also gets put in the table.

CODE: Complete Code For This Series
https://github.com/bradtraversy/lsapp

10 PROJECT LARAVEL COURSE: Please use affiliate link below
https://www.eduonix.com/affiliates/id/16-10485
50% OFF: Use special code “traversy”

SUPPORT: We spend massive amounts of time creating these free videos, please donate to show your support:
http://www.paypal.me/traversymedia
http://www.patreon.com/traversymedia

FOLLOW TRAVERSY MEDIA:
http://www.facebook.com/traversymedia

http://www.linkedin.com/in/bradtraversy

source