hard20 pts · first answer countsdata-modellingmulti-tenancy
Invoices pointing at another tenant
A multi-tenant schema has tenant_id on every table. A bug let an invoice in tenant A reference a customer in tenant B. Which model change prevents this?
Discussion 0
Join free to post in the discussion.
Related questions
- Primary key for order linesData Engineer
- Modelling doctors and patientsData Engineer
- Several phones in one columnData Engineer
- Several unique columnsData Engineer
- Picking the natural keyData Engineer
- Reading crow's foot notationData Engineer
- The model with indexes and typesData Engineer
- Why denormalise a reporting tableData Engineer