# Database Migration Validator

> Validates SQL database migrations for safety using pg_stat_statements analysis and pt-online-schema-change dry-run mode. Checks for long-running locks, missing indexes on foreign keys, and backward-incompatible column changes.

- Skill: `agentskillexchange/database-migration-validator` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/database-migration-validator`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/database-migration-validator/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Data & Analytics
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/database-migration-validator

---


# Database Migration Validator

Validates SQL database migrations for safety using pg_stat_statements analysis and pt-online-schema-change dry-run mode. Checks for long-running locks, missing indexes on foreign keys, and backward-incompatible column changes.

## Installation

No source-backed install or usage instructions could be extracted automatically. Review the upstream project before running this skill in a sensitive workflow.

- Source: https://www.postgresql.org/

## Documentation

- https://www.postgresql.org/docs/

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/database-migration-validator/)

