80 free rules vs 7 paid rules

MigrationPilot vs AtlasFree, Open-Source Migration Linting

Atlas (by Ariga) is a schema management tool with 7 PostgreSQL lint rules in its paid tier. MigrationPilot is a dedicated migration linter with 80 rules — 77 of them free. It works alongside Atlas or any other migration tool.

Rule-by-Rule Coverage

Every Atlas PostgreSQL lint rule (PG301-PG307) has a direct MigrationPilot equivalent — with 3 of them auto-fixable.

Atlas RuleMigrationPilot EquivalentAuto-Fix
PG301 Non-concurrent index creationMP001 require-concurrent-indexYes
PG302 NOT NULL column without defaultMP002 require-check-not-null
PG303 Column with volatile defaultMP003 volatile-default-rewrite
PG304 FK without NOT VALIDMP005 require-not-valid-fk
PG305 CHECK without NOT VALIDMP030 require-not-valid-checkYes
PG306 Non-concurrent index dropMP009 require-drop-index-concurrentlyYes
PG307 Column type changeMP007 no-column-type-change

Feature Comparison

CapabilityAtlas (Free)Atlas (Pro/Cloud)MigrationPilot
Migration lintingRemoved in v0.387 PG rules80 rules (77 free)
Lock type analysisNoNoPer-statement
Risk scoringNoNoRED / YELLOW / GREEN (0-100)
Auto-fixNoNo12 rules
Safe alternative SQLNoNoPer violation
Declarative schemaYes (HCL)Yes (HCL)No (lint-only)
Schema versioningYesYesNo (works with any)
GitHub ActionLimitedYesFree (PR comments + annotations)
VS Code extensionHCL supportHCL supportSQL safety diagnostics
SARIF outputNoNoYes (Code Scanning)
Schema drift detectionYesYesYes
Multi-databasePG, MySQL, SQLite, etc.PG, MySQL, SQLite, etc.PostgreSQL only
Config presetsatlas.hclatlas.hcl5 built-in YAML presets
Framework detectionAtlas onlyAtlas only14 frameworks
Production contextNoCloud-basedDirect DB queries (Pro)
Air-gapped modeNoNo (requires cloud)Yes (--offline)
PriceFreeCustomFree (77 rules) / $19/mo Pro
LicenseApache 2.0CommercialMIT

Key Differentiators

Free Migration Linting

Atlas moved migration linting behind a paid plan in v0.38. MigrationPilot gives you 77 rules for free under an MIT license. No cloud account required.

10x More Rules

Atlas has 7 PostgreSQL lint rules. MigrationPilot has 80 covering lock safety, data types, partitioning, RLS, JSONB indexing, logical replication, and more.

Lock-Level Analysis

MigrationPilot tells you exactly which PostgreSQL lock each DDL statement acquires (SHARE, SHARE UPDATE EXCLUSIVE, ACCESS EXCLUSIVE) and whether it blocks reads or writes.

Auto-Fix

12 rules can be automatically fixed with --fix. Missing CONCURRENTLY, lock_timeout, statement_timeout, NOT VALID, IF NOT EXISTS, and more. Atlas does not offer auto-fix.

Works Without Cloud

Atlas Pro requires an Ariga Cloud account. MigrationPilot runs entirely locally or in your own CI. The --offline flag ensures zero external calls.

Framework Agnostic

MigrationPilot works with any migration tool: Atlas, Flyway, Liquibase, Prisma, Django, Rails, Alembic, and 7 more. Auto-detect with npx migrationpilot detect.

When to Use Each Tool

Use Atlas when you need to...

  • Define schemas declaratively with HCL
  • Auto-generate migration files from schema diffs
  • Manage schemas across multiple database engines
  • Use cloud-hosted schema management (Ariga Cloud)
  • Apply versioned migrations with built-in execution

Use MigrationPilot when you need to...

  • Comprehensive PostgreSQL migration safety analysis
  • Free linting without a cloud account or paid plan
  • Auto-fix dangerous DDL patterns automatically
  • Run entirely locally or air-gapped (no cloud dependency)
  • Lint migrations from any framework, not just Atlas

Use both together

If you use Atlas for schema management, you can add MigrationPilot as a lint step in your CI pipeline. Atlas generates the migration SQL, MigrationPilot reviews it for safety. Keep Atlas for declarative schema management and execution. Add MigrationPilot for deep PostgreSQL safety analysis.

Get Started in 30 Seconds

1

Lint your Atlas migrations

# Analyze migration files generated by Atlas
npx migrationpilot analyze migrations/*.sql
2

Add to GitHub Actions

- uses: mickelsamuel/migrationpilot@v1
  with:
    path: migrations/
    fail-on: critical
3

Auto-fix common issues

npx migrationpilot analyze migrations/ --fix --dry-run

80 rules. Free and open-source. No cloud required.

Migration linting should not require a paid plan. MigrationPilot gives you 77 safety rules for free, 12 auto-fixes, lock analysis, and risk scoring. MIT licensed.