PostgreSQL Migration Manager

•
5
•

Manages incremental PostgreSQL database migrations with support for transactional, non-transactional, and manual SQL patches.

The pgmigrator skill equips Claude with the ability to manage PostgreSQL schema evolutions using the pgmigrator CLI. It facilitates a structured SDLC by organizing migrations into incremental SQL files, tracking their status in a dedicated metadata table, and offering specialized handling for concurrent operations and manual DBA tasks. This skill is essential for teams needing robust database versioning, dry-run safety checks, and integrity verification across development and production environments.

주요 기능

01Incremental migration tracking via public.pgMigrations table
02Dry-run capabilities to test SQL patches before final application
03MD5 integrity verification to ensure migration scripts remain unchanged
045 GitHub stars
05Support for automatic transactions and non-transactional concurrent index creation
06Flexible configuration for distinct environments like dev, staging, and production

사용 사례

01Automating database schema updates within a CI/CD pipeline
02Safely adding indexes to high-traffic tables using non-transactional concurrent mode
03Maintaining a consistent database state across large engineering teams