Multi-tenancy with Shield
Does my roles table have to have a team_id?
I would think roles would be the same regardless of the team, so I think I probably have something configured incorrectly.
If I take the team relationship off my role model I get:
So it seems that every single table has to have a
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'roles.team_id' in 'where clause'I would think roles would be the same regardless of the team, so I think I probably have something configured incorrectly.
If I take the team relationship off my role model I get:
So it seems that every single table has to have a
team_id for multi-tenancy?