Databases and Data IntelliJ IDEA 6 min read

Stop SQL migrations from locking production tables in IntelliJ IDEA

A routine ALTER TABLE ADD COLUMN with a volatile default locks a 40-million-row Postgres table and stalls checkout. Run SQL Migration Linter inside IntelliJ IDEA to catch blocking DDL and missing lock_timeout guards.

Engineering context

Why local IDE checks beat late CI failures

Applies to IntelliJ Platform 2025.2+ through 2026.3+.

Standard SQL linters check syntax, not ACCESS EXCLUSIVE lock hazards or missing CONCURRENTLY keywords. Catching these configuration bugs inside IntelliJ IDEA takes seconds instead of waiting 15 minutes for a remote CI pipeline or rolling back a broken deploy. Every Zovo plugin runs 100% locally on IntelliJ Platform 2025.2+ through 2026.3+ so sensitive configs never leave disk.

Need custom internal rules for sql migration lock audit or an air-gapped signed ZIP build? Book a Public Feature Sprint ($4,999) or a Private Fork (from $25,000) on /custom/.

Implementation walkthrough

Four-step production setup

Tested against JetBrains Plugin Verifier and offline enterprise policies.

1

Install the matching Zovo inspector in IntelliJ IDEA

Open Settings, select Plugins, and install the Zovo plugin directly from JetBrains Marketplace or your internal updatePlugins.xml repository. Core parsing stays free forever with no login.

2

Scan target configuration files before git commit

Run SQL Migration Linter inside IntelliJ IDEA to catch blocking DDL and missing lock_timeout guards. Review severity badges in the sidebar tool window and jump straight to the exact line causing drift or security exposure.

3

Export structured JSON or Markdown findings for PR review

With Personal Pro ($29/yr) or Organization Pro ($59/yr per seat), export audit reports straight into pull requests or InfoSec tickets without uploading repository files to third-party clouds.

4

Lock team standards across CI and air-gapped workstations

Pair local IDE checks with your repository policy or commission a custom PSI inspection pack so every engineer gets identical feedback on day one.

V42__add_index.sql (non-blocking concurrent index)
SET lock_timeout = '3s';
CREATE INDEX CONCURRENTLY IF NOT EXISTS idx_orders_org_created
  ON orders (org_id, created_at DESC);

Plugins referenced in this guide

More IntelliJ IDEA plugins

SQL Migration Linter icon

SQL Migration Linter

com.notemods.sql-migration-linter
Queued Databases and Data

Inspect SQL migration scripts and catch destructive locks, unguarded deletes, and non-concurrent indexes before production rollout.

Flyway Migration Guard icon

Flyway Migration Guard

com.notemods.flyway-migration-guard
Queued Databases and Data

Validate Flyway SQL migration filenames and DDL safety, catch destructive DROP or TRUNCATE commands, unfiltered DELETE statements, blocking ADD COLUMN NOT NULL edits, and non-concurrent index builds inside your JetBrains IDE.

SQL Explain Plan Diff icon

SQL Explain Plan Diff

com.notemods.sql-explain-diff
Queued Databases and Data

Parse PostgreSQL and MySQL EXPLAIN plans, compare query costs side by side, and catch sequential scan regressions inside your JetBrains IDE.

PostgreSQL Config Tuner icon

PostgreSQL Config Tuner

com.notemods.postgres-config-tuner
Queued Databases and Data

Parse postgresql.conf parameters, catch disabled fsync or autovacuum, legacy md5 password encryption, and unencrypted wildcard listeners inside your JetBrains IDE.

FREEMIUM Native JetBrains Marketplace licensing

$29/yr Personal · $59/yr Org (30-day free trial, zero telemetry)

Core parsers and sidebar inspectors stay free forever with no account required. Upgrade inside JetBrains Marketplace for deep security audits, secret leak scanners, breaking-change guards, and JSON or Markdown report exports. Need a private air-gapped plugin or custom PSI inspection engine for your company?

Related JetBrains engineering guides

View all 65 guides