PostgreSQL migration safety linter for VS Code. Analyzes SQL migration files on save with 112 safety rules for lock safety, data protection, and best practices.
Powered by the real PostgreSQL parser (libpg-query) — no regex heuristics.
No configuration required. Works out of the box with sensible defaults.
Features
On-save diagnostics — Violations appear inline as you edit SQL files
Hover information — Hover over violations to see why they matter and safe alternatives
Quick fixes — One-click fixes for all 20 auto-fixable rules, applying the same edit migrationpilot --fix writes (add CONCURRENTLY, NOT VALID on a new constraint, replace VARCHAR with TEXT, and the rest)
Inline disable — Quick action to add -- migrationpilot-disable comments