About This Episode

We've finally made it to the most intimidating of Eloquent relationships: many to many polymorphic. Don't worry; it's far simpler to understand than you might initially think. In this lesson, we'll construct a standard many-to-many relationship: a user can "like" a post. Then, we'll throw a wrench into the mix. What if a user can also "like" a comment? How might we restructure our existing structure to allow for this?

Published on Sep 19th, 2018.

Episodes

    1. One to One

      EPISODE 1 11:42
    2. One to Many

      EPISODE 2 11:05
    3. Many to Many

      EPISODE 3 19:06
    4. Has Many Through

      EPISODE 4 9:05
    5. Polymorphic Relations

      EPISODE 5 14:30
Back to Series Button