postgres-migrations

Community

Safe 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 email column to your users table, backfill existing data, and add a NOT NULL constraint 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 required

Components

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.
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.