pg-tenant-provisioning
CommunityAutomate tenant schema provisioning for Postgres
AuthorPremModhaOfficial
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Provisioning a new tenant in a multi-tenant PostgreSQL 18 environment by creating a dedicated per-tenant schema, applying migrations, and registering the tenant in the management registry to ensure isolation and lifecycle control.
Core Features & Use Cases
- Create tenant schemas deterministically with the t_{8hex} pattern and a dedicated _mgmt schema to store the registry and migrations.
- Apply migrations to a specific tenant schema using a :schema placeholder and a shared pool, then register the tenant as active in _mgmt.tenant_registry.
- Manage tenant lifecycle: onboarding (provision), deprovisioning, and archival of registry records with status transitions.
Quick Start
Provision a new tenant by supplying the tenant UUID and app DB name to create the schema, run migrations, and register the tenant in the registry.
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: pg-tenant-provisioning Download link: https://github.com/PremModhaOfficial/motadata-ai-pipeline/archive/main.zip#pg-tenant-provisioning 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 471,000+ vetted skills library on demand.