SQL Playground
Paste your PostgreSQL migration SQL and see safety violations instantly.
Click "Analyze Migration" to see results
How it works
Your SQL is parsed by the real PostgreSQL parser (libpg-query). Each statement is analyzed against safety rules to detect lock issues, data risks, and anti-patterns.
Full analysis
This playground runs a subset of rules. For full 80-rule analysis with auto-fix, install the CLI: npx migrationpilot analyze file.sql
No data leaves your browser
Your SQL is analyzed server-side with no storage, no logging, and no third-party services. Nothing is saved after the request.