Multi Tenancy and M2M models

Should I include the 'team_id' column in the intermediate (pivot) tables while using multi-tenancy?
1 Reply
Tim van Heugten
Tim van Heugten9mo ago
No Unless you ever want to create a resource for the pivot model (it might have a ton of additional fields and you want to show those separately. But in that case you can add the tenant id later in a migration.
Want results from more Discord servers?
Add your server