Relations
In this episode we are going to be talking about relations in October CMS, this is one of the most important things you have to understand in October to be able to successfully link your content together.
In the previous episode we had a little taste of relations when we linked our poster image with the Movie model, and also when creating our movie gallery. We are going to continue with that in this episode with movie genres. You can look at movie genres like categories for our movies.
We are going to create pivot table in this episode which will serve as a link between our Movie model and our Genre model, and this is the way we will be able to know which movie belongs to which genre and vice versa.