·postgres-migrations
</>

postgres-migrations

pr-pm/prpm

Comprehensive guide to PostgreSQL migrations - common errors, generated columns, full-text search, indexes, idempotent migrations, and best practices for database schema changes

4Installs·1Trend·@pr-pm

Installation

$npx skills add https://github.com/pr-pm/prpm --skill postgres-migrations

SKILL.md

Cause: Subquery in SELECT/CASE references columns from outer query that aren't in GROUP BY.

Solution: Use CTE (Common Table Expression) to separate aggregation from subqueries:

Cause: PostgreSQL requires functions in indexes/generated columns to be IMMUTABLE.

Comprehensive guide to PostgreSQL migrations - common errors, generated columns, full-text search, indexes, idempotent migrations, and best practices for database schema changes Source: pr-pm/prpm.

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/pr-pm/prpm --skill postgres-migrations
Category
</>Dev Tools
Verified
First Seen
2026-02-01
Updated
2026-02-18

Quick answers

What is postgres-migrations?

Comprehensive guide to PostgreSQL migrations - common errors, generated columns, full-text search, indexes, idempotent migrations, and best practices for database schema changes Source: pr-pm/prpm.

How do I install postgres-migrations?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/pr-pm/prpm --skill postgres-migrations Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/pr-pm/prpm