pg-migrations
CommunityZero-downtime migrations for multi-tenant Postgres.
Software Engineering#postgresql#migrations#zero-downtime#golang-migrate#multitenancy#schema-per-tenant#migration-runner
AuthorPremModhaOfficial
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Efficiently orchestrate and apply schema-per-tenant PostgreSQL migrations across all active tenants with zero downtime, robust rollback, and auditing.
Core Features & Use Cases
- Migration conventions: standardized 6-digit numbering, up/down pairing, and :schema placeholder usage to target each tenant schema.
- Zero-downtime strategies: phases for adding columns, safe renames, and non-blocking index creation outside transactions.
- Bounded worker migrations: parallel application of migrations across tenant schemas with a configurable concurrency cap.
- Audit and observability: audit trigger setup and partitioned logs for change tracking across all tables.
- Deployment readiness: supports rolling back migrations and ensuring all tenants are kept in sync during deploys.
Quick Start
Use the pg-migrations skill to scaffold and apply a new migration across all active tenant schemas.
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-migrations Download link: https://github.com/PremModhaOfficial/motadata-ai-pipeline/archive/main.zip#pg-migrations 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.