JetBrains Marketplace · Local JVM Engine · Zero Telemetry

Catch production table locks before your migration merges.

Offline zero-downtime DDL inspection across PostgreSQL, MySQL 8, SQL Server, and Oracle, highlighting lock hazards inline in Flyway, Liquibase, Prisma, Alembic, and Goose files with deterministic Alt+Enter quick-fixes.

47 Rules Deterministic AST checks
4 Dialects PG · MySQL · MSSQL · Oracle
0 Network Calls 100% air-gapped local JVM
10 Free Core Postgres rules · 30-day Pro trial
billing-service › src › main › resources › db › migration › V20261204__add_billing_indexes.sql
1 Error 2 Warnings
01 -- Flyway: billing invoice index & checkPG003 · lock_timeout
02 -- flyway:executeInTransaction=false
03
04 CREATE INDEX idx_invoices_org_status
05 ON billing.invoices (org_id, status);PG001 · SHARE lock
06
07 ALTER TABLE billing.invoices
08 ADD CONSTRAINT chk_amount CHECK (amount_cents >= 0);PG007 · Full scan
09
10 -- Safe on PostgreSQL 11+: constant DEFAULT skips table rewrite
11 ALTER TABLE billing.invoices
12 ADD COLUMN currency TEXT NOT NULL DEFAULT 'EUR';
LockLint SQL 1.0.0 PostgreSQL 16 (auto-detected) Local AST: 0.8 ms
0 Network Calls UTF-8 LF

Universal IntelliJ Platform Coverage

Works across every migration runner and every JetBrains IDE.

Built with a pure-Kotlin multi-dialect DDL lexer depending only on com.intellij.modules.platform, so inspections run natively in Community and Ultimate editions alike without requiring Ultimate database binaries.

Supported Migration Formats (6 Extractors)

  • Flyway V*__*.sql · R__*.sql · directives
  • Liquibase XML & YAML <sql>, <createIndex>, changes:
  • Prisma Migrate prisma/migrations/*/migration.sql
  • Alembic (Python) def upgrade(): op.execute / op.*
  • Goose (Go) -- +goose Up (skips Down safely)
  • Raw SQL & T-SQL .sql · dollar-quoting · GO batches

Supported JetBrains IDEs (2024.3 – 2026.x+)

  • DataGrip Primary SQL & DBA workflow
  • IntelliJ IDEA Community & Ultimate editions
  • PyCharm Alembic & Django SQL migrations
  • GoLand & Rider Goose, pgx & SQL Server T-SQL
  • PhpStorm & WebStorm Prisma, Doctrine & Knex SQL
  • RubyMine Structure SQL & raw DDL scripts

Complete Rule Reference

47 lock-hazard rules across 4 production SQL dialects.

Engineered to eliminate false positives, exempting PostgreSQL 11+ constant DEFAULT additions, safe lossless VARCHAR/NUMERIC widenings, and validated NOT VALID constraint workflows.

Rule ID Tier Migration Hazard Lock Impact Quick-Fix / Guidance

Security & Team Governance

Air-gapped by construction. Configurable in Git.

Verifiable Zero-Telemetry Guarantee

Database schemas are crown-jewel intellectual property. LockLint SQL parses every migration strictly in-process inside your local JetBrains JVM with zero outbound sockets.

  • 01Zero network code: Release validation audits src/main/ to confirm zero java.net, HttpClient, Socket, or analytics imports.
  • 02Zero AI/LLM uploads: Deterministic Kotlin AST rules produce identical results offline on planes, VPNs, and regulated banking workstations.
  • 03Native JetBrains Licensing: Pro entitlements verify offline via JetBrains’ built-in LicensingFacade, no third-party license server pings.
  • 04Inline Suppressions: Override individual exceptions cleanly via -- migraguard-disable-next-line PG001 or file-level directives.

Commit .migraguard.json at Repo Root

Pin your target PostgreSQL version, enforce lock timeouts, adjust rule severities, and exclude legacy archive folders consistently across every developer IDE.

{
  "dialect": "postgres",
  "postgresVersion": 16,
  "requireTimeouts": true,
  "analyzeDownMigrations": false,
  "disabledRules": ["PG019"],
  "severityOverrides": {
    "PG001": "ERROR",
    "PG007": "ERROR",
    "PG014": "WARNING"
  },
  "ignorePaths": [
    "db/migrations/legacy/**",
    "**/test_fixtures/*.sql"
  ]
}

Transparent Licensing · JetBrains Marketplace MoR

Start free on PostgreSQL. Upgrade for all 4 dialects and teams.

Free Core

ALWAYS FREE
$0 / forever

Essential PostgreSQL lock-hazard protection out of the box, no license key or registration required.

  • ✓10 Core PostgreSQL rules (PG001–PG010)
  • ✓One-click AST quick-fixes for all Free rules
  • ✓Flyway, Liquibase, Prisma, Alembic & Goose
  • ✓100% local offline execution, zero telemetry

Pro Organization

COMMERCIAL TEAMS
$69 / user / year ($6.90/mo)

Transferable commercial seats managed directly inside your company’s JetBrains Account portal.

  • ✓Everything in Pro Individual (all 47 rules)
  • ✓Transferable company licenses & offline keys
  • ✓Consolidated VAT / PO invoicing via JetBrains
  • ✓Priority email support from ClearStack Tools
Billing, global VAT/sales tax, 30-day free trials, and Perpetual Fallback Licenses are handled directly by JetBrains Marketplace (Merchant of Record). Questions? [email protected]