SQL Migration & Query Guard icon

SQL Migration & Query Guard

SQL Migration & Query Guard catches production database lock hazards, destructive DDL, schema drift, and slow query plans before merge — offline, with zero database connection required, across every JetBrains IDE (including Community Editions).

Data & Observability Marketplace #36840 v2026.1.0 Plugin ID: com.craftcamp.sqlmigrationguard Product Code: PSQLMIGRATE 100% Offline Pure-JVM 31 Built-In Offline Rules

Free Features$0 Forever

  • Project SQL Migration Explorer: Auto-discovers Flyway (V*__*.sql), Prisma (migrations/*/migration.sql), Liquibase, Goose, Alembic, Rails, Sqitch, and custom .sql migrations.
  • 16 Zero-DB Safety & Lock-Risk Lint Rules: Detects ADD COLUMN ... NOT NULL without DEFAULT, locking CREATE INDEX / DROP INDEX without CONCURRENTLY, destructive DROP TABLE/DROP COLUMN/TRUNCATE, full-table-rewrite ALTER COLUMN TYPE, unguarded UPDATE/DELETE, SELECT *, unindexed foreign keys, missing IF EXISTS/IF NOT EXISTS, LOCK TABLE, volatile defaults, blocking ADD CONSTRAINT without NOT VALID, blocking SET NOT NULL, RENAME, and missing lock_timeout — with click-to-line editor navigation and single-file Markdown safety reports.

Pro Features30-Day Free Trial

  • Git Diff Migration Safety Gate: Audits only newly added or modified migrations against your base branch via real git diff, flags mutated historical migrations, and exports PR-ready Markdown & JSON CI reports with exit-code summary.
  • Zero-Downtime Safe Rewrite Generator: Auto-generates multi-step expand/contract SQL recipes for locking indexes, NOT NULL backfills, NOT VALID constraints, ALTER COLUMN TYPE, and safe column drops.
  • Schema Timeline & Destructive-Drift Simulator: Replays ordered migrations in memory to track live tables, columns, and indexes while detecting duplicate versions, out-of-order timestamps, missing down-migrations, and type/drop conflicts.
  • SQL EXPLAIN / EXPLAIN ANALYZE Bottleneck Analyzer: Parses PostgreSQL and MySQL JSON or text plans to highlight large Seq Scans, high-cost Nested Loops, disk Sorts, >10x row-estimate drift, and concrete CREATE INDEX CONCURRENTLY suggestions.

Supported File Types & Formats

*.sql (PostgreSQL, MySQL, SQLite, SQL Server, Flyway V*__*.sql, Liquibase, Prisma/Alembic/Knex migrations) changelog.xml changelog.yaml

Compatible JetBrains IDEs (Build 242+ · No Until-Build Cap)

IntelliJ IDEACommunity & Ultimate 2024.2+
PyCharmCommunity & Professional 2024.2+
WebStorm2024.2+
GoLand2024.2+
Rider2024.2+
PhpStorm2024.2+
CLion2024.2+
RustRover2024.2+
Android Studio2024.2+

Frequently Asked Questions

What files and formats does SQL Migration & Query Guard support?

SQL Migration & Query Guard analyzes *.sql (PostgreSQL, MySQL, SQLite, SQL Server, Flyway V*__*.sql, Liquibase, Prisma/Alembic/Knex migrations), changelog.xml, changelog.yaml completely offline inside any JetBrains IDE (2024.2+). Includes 31 built-in offline checks (SQL009, SQL002, SQL003, SQL014, SQL006, SQL010, SQL007, SQL008...) with 0-100 (A-F) scoring.

How much does SQL Migration & Query Guard cost?

The core explorer, parser, click-to-line navigation, and linter are $0 forever. Pro unlocks interactive simulation, Git semantic diffing, hardened 100/A blueprint generation, and SARIF 2.1.0 / Markdown / JSON audit export for $4.90/month Personal or $9.90/month Organization with a native 30-day JetBrains Marketplace free trial.

Which JetBrains IDEs can install SQL Migration & Query Guard (Marketplace #36840)?

Compatible with all JetBrains IDEs on build 242+ (no until-build cap): IntelliJ IDEA, PyCharm, WebStorm, GoLand, Rider, PhpStorm, CLion, RustRover, and Android Studio on Windows, macOS, and Linux.

Sibling AI Agent Infrastructure · CraftCamp1

Need hosted AI Agent MCP Servers?

Try our 18 Apify MCP tools for Claude Desktop, Cursor, Windsurf, VS Code Copilot, and Cline — instant Streamable HTTP endpoints with 1-click client configs.

Explore Apify MCP Servers →