postgres-migrations
CommunitySafe PostgreSQL schema migration patterns
Authorbradtaylorsf
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses the complexities and risks associated with modifying PostgreSQL database schemas in production environments, ensuring data integrity and minimizing downtime.
Core Features & Use Cases
- Safe Schema Changes: Provides patterns for adding, removing, or renaming columns and constraints with minimal locking.
- Idempotent Migrations: Offers strategies for creating migration scripts that can be run multiple times without adverse effects.
- Use Case: Safely add a new
emailcolumn to youruserstable, backfill existing data, and add aNOT NULLconstraint without locking the table for an extended period.
Quick Start
Use the postgres-migrations skill to safely add a nullable 'phone' column to the 'users' table.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: postgres-migrations Download link: https://github.com/bradtaylorsf/alphaagent-team/archive/main.zip#postgres-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 223,000+ vetted skills library on demand.