Skip to content
P

per-tenant-database

Multi-tenant data isolation

by rivet-devFree

#10376in AI Skills
0In stores

Description

Per-tenant database is an agent skill for multi-tenant apps that need each customer's data kept separate. Instead of one shared database wit…

Highlights

  • One Rivet Actor per tenant, keyed by tenant id
  • Each tenant owns its dataset and migrations
  • Working example with a React dashboard
  • Live event updates to the dashboard
  • Reads BASE_SKILL.md before starting

Ratings & Reviews

No ratings yet

Be the first to rate per-tenant-database.

People also visit

R

rivetkit

RivetKit backend and Rivet Actor runtime guidance

AI Skills
Get
M

multi-tenant-architecture

Designs tenant isolation, hostname routing, custom-domain lifecycle

AI Skills
Get
O

organization-best-practices

Multi-tenant organization setup

AI Skills
Get
R

rivet-dynamic-apps

Dynamic Apps: Deploy an AI-generated backend for every user

AI Skills
Get
T

tigris-agent-kit

Building AI agent storage workflows on Tigris

AI Skills
Get
R

rivetkit-client-react

RivetKit React client guidance

AI Skills
Get

per-tenant-database FAQ

What does this skill do?

It describes how to give each tenant its own Rivet Actor that holds that tenant's entire dataset, instead of sharing one database across tenants.

How is this different from a tenant_id column?

The skill keeps each tenant's data in its own actor, so tenants do not share tables. The page presents this as the main isolation point.

How do I install it?

Run npx skills add https://github.com/rivet-dev/skills --skill per-tenant-database.

Where is the example code?

The reference implementation is in the rivet repository under examples/per-tenant-database.

What are the security audit results?

Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Warn.

What are the best per-tenant-database alternatives?

Popular alternatives to per-tenant-database include rivetkit, multi-tenant-architecture and organization-best-practices. See all per-tenant-database alternatives

Developer Stuff

Badges