Tenant schemas
Isolated. Secure. Scalable.
AdonisJS · v0.2.2
Hand-stacked, schema-isolated PostgreSQL tenants with the production plumbing your SaaS will eventually need — and the operational tooling you'd otherwise spend six months writing yourself.
npm install @adonisjs-lasagna/saas-tenancyIsolated. Secure. Scalable.
Spin up tenants in seconds.
Jobs, backups, metrics, and more.
Built for performance.
Rock-solid foundation.
Each tenant lives in its own PostgreSQL schema, named, provisioned, and routed without a `tenant_id` ever leaving the package boundary.
Circuit breakers, read replicas, audit logs, signed webhooks, scheduled backups with retention tiers, OpenTelemetry, Prometheus. None of it bolted on later.
A doctor command that fixes things. Thirty-two ace commands. A REST admin API with OpenAPI 3.1. Helm chart, Dockerfile, e2e suite — kitchen included.
You know that moment in the kitchen when you lift the first layer of pasta and see every ingredient exactly where it belongs? That's what we built.
Each tenant is its own layer — isolated, secure, perfectly stacked over your AdonisJS foundation. Read the full story.
The quickstart walks you from npm install to a live, schema-isolated tenant with audit logs, quotas, and a doctor report — without ever writing the words tenant_id =.