{"$schema":"https://top-agent-skills.com/schemas/skill.v1.json","name":"postgres-database-migration","slug":"postgres-migrations","canonical":"https://top-agent-skills.com/skill/postgres-migrations","description":"Use when testing a schema migration before applying it to production; adding, removing or renaming columns safely on a live table; changing a column's data type without downtime; understanding which ALTER TABLE operations lock the table; rolling back a failed migration; or planning a zero-downtime migration strategy. Covers AccessExclusiveLock behaviour, concurrent index creation, and backfill strategies.","tagline":"Zero-downtime Postgres migrations, with the locking behaviour spelled out — which ALTER TABLE takes an AccessExclusiveLock and what to do instead.","bestFor":"A schema change on a live table where the failure mode is a lock that takes production down, not a syntax error.","notIdealFor":"Greenfield schemas with no data and no traffic — the whole value here is in the constraints that only exist once a table is live.","publisher":{"name":"TigerData (Timescale)","url":"https://www.tigerdata.com","tier":"verified-org"},"license":"Apache-2.0","isOpenSource":true,"surfaces":["claude-code"],"compatibility":["claude-code"],"capabilityLevel":"read-only","setup":{"time":"1 min","complexity":"Low"},"install":[{"agent":"claude-code","command":"npx skills add timescale/pg-aiguide --skill postgres-database-migration","manual":null,"followUp":"Bundles references for backfill strategies, validation queries, and a complete worked example."}],"taxonomy":{"primaryCategories":["databases-schemas","devops-infra"],"verticalCategories":["engineering"],"tags":["Migrations","PostgreSQL","Zero downtime"],"filters":["verified-org","open-source","one-command-install","read-only","bundles-scripts","agent-friendly","works-with-claude-code"]},"links":{"github":"https://github.com/timescale/pg-aiguide/tree/main/skills/postgres-database-migration","docs":"https://github.com/timescale/pg-aiguide/blob/main/skills/postgres-database-migration/SKILL.md","website":null},"_meta":{"score":{"value":55,"rubric":"1.0","inputs":{"installCount":0,"provenance":12.8,"githubStars":9.2,"recency":6,"compatibility":2,"documentation":10,"installErgonomics":10,"license":5,"verification":0.5}},"stats":{"installCount":null,"githubStars":1814,"lastUpdated":"2026-06-26","verifiedAt":null}}}