multi-tenant-postgres
CommunityPostgres multi-tenant with RLS.
Software Engineering#postgresql#multi-tenant#migrations#RLS#row-level security#sqlc#tenant isolation
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 requiredComponents
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.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.