Data

Alright, to get set up with Lighthouse, we need some data to work with so let's create some migrations and models.

Overview

Our application is made up of users who can create tasks and add items to those tasks which can be assigned to any number of users, any of which can mark the item as complete. This obviously isn't the best way to do create this application, we just want to handle different types of relationships. If the picture is still a little blurry hopefully things will make sense when we wire up the relationships in the Eloquent Models.

results matching ""

    No results matching ""