How we build multi-tenant Laravel apps: schema per tenant vs. row-level scoping
Row-level scoping or a PostgreSQL schema per tenant? How we choose, the code that enforces it and the tests that prove no tenant can see another's data.
Dusan Antonijevic