multi-tenant-postgres

Community

Postgres multi-tenant with RLS.

Authorraphaelmansuy
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a single PostgreSQL database with row-level security (RLS) to isolate tenant data, reducing database complexity and operational overhead.

Core Features & Use Cases

  • Row-Level Security (RLS): Enforce per-tenant data access at the database layer.
  • Tenant isolation in a single DB: Manage organizations, projects, and agents without sharding.
  • Migrations and tooling: Versioned migrations and sqlc integration for typed queries.

Quick Start

Set up the initial migrations under migrations/ and configure your application to set the current tenant context (project_id) on each request; run migrations to initialize the schema and policies.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: multi-tenant-postgres
Download link: https://github.com/raphaelmansuy/k8s-agent-stack/archive/main.zip#multi-tenant-postgres

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.