1 Reply
So the idea is one user can create many calendars.
One calendar can have one author.
One calendar can also have many participants
But i'm not sure how to structure that last relation
Lemm walk through it, might make sense
We've got a user storing all this, which has a one to many relationship with both the session table and calendar table like this
calendar_to_user_relations
is a junction/join table
Session is irrelevant to the error so let's skip to the calendar
table
And it's one to many relationship with the junction table
The junction table looks like this
The error is on the one to many relations between both user and calendar with the junction table.
oh wait im a dumb dumb i was using the relation definition instead of the table for the many relation input