Free, source-available CLI for SQL Server, PostgreSQL, MySQL, and MariaDB — vs Redgate’s commercial GUI-first SQL-Server-only diff tool.
Both tools use a state-based approach to schema deployment. SchemaSmith is a free, source-available CLI (SSCL v2.0) covering SQL Server, PostgreSQL, MySQL, and MariaDB, with reference-data deployment included via DataTongs. Redgate SQL Compare is a commercial Windows GUI (CLI available on Linux via Docker) for SQL Server only; data deployment requires the separately licensed SQL Data Compare. SQL Compare and SQL Data Compare are both priced per user, per year, with volume bands, and Redgate publishes the prices on its site.
How the tools differ in approach, features, and developer experience.
| Aspect | SchemaSmith | SQL Compare |
|---|---|---|
| Approach | State-based, CLI-first | State-based, GUI-first |
| Platform Coverage | SQL Server, PostgreSQL, MySQL, MariaDB (platform-specific schema definitions) | SQL Server & Azure SQL only |
| Deployment Surface | Native CLI runs on Windows, macOS, Linux, ARM64 | Windows GUI; CLI on Linux via Docker |
| Source Format | JSON template files (one per table, plus indexed views) and SQL scripts (one per procedure, function, trigger, or ordinary view), kept in source control | Source SQL files alongside Redgate’s project format |
| Reference Data | Declarative DataDelivery blocks; two-pass FK-aware loader (DataTongs included) |
Not included — SQL Data Compare is a separate product |
| CI/CD Integration | Native CLI is a single deployment step; idempotent | Command-line deployment is a SQL Compare Pro feature; using it in a Redgate Pipeline needs a Flyway Enterprise, Redgate Deploy, or SQL Toolbelt license |
| Drift Detection | Built-in — runs on every deployment | On-demand comparison in the GUI or CLI |
| Failed Deployment Recovery | Checkpoint & resume (--ResumeQuench); skips completed work on retry |
Re-run; partial-state cleanup is the deployer’s responsibility |
| Conditional Deployment | ShouldApplyExpression — one file applies per database, env, or version |
Filter rules and project options |
| SQL Server Availability Groups | Target:SecondaryServers — primary plus secondaries quenched in parallel |
Apply per server; orchestration is the deployer’s problem |
| Licensing | Free under SSCL v2.0 (source-available); unlimited seats | Commercial, per-user with tiered bands; 14-day trial |
Checkpoint & resume, two-pass FK-aware data delivery, ShouldApplyExpression, secondary servers for SQL Server Availability Groups, and custom script folders all ship in the free CLI. SQL Compare focuses on the diff-and-apply step; the surrounding orchestration is a separate concern.
How the two tools differ on cost, license terms, and what an apples-to-apples comparison includes.
| Aspect | SchemaSmith | SQL Compare |
|---|---|---|
| License | SSCL v2.0 (source-available) | Commercial, proprietary |
| Cost | $0/year — free for any purpose, any organization, any scale | Per user, per year, with volume bands; 14-day trial; prices published on Redgate's pricing page |
| Schema Deployment | Included in the free CLI | Core SQL Compare product |
| Reference Data Deployment | Included — DataDelivery + DataTongs ship in the same CLI |
Separate — SQL Data Compare is a distinct, separately-licensed product |
| CI/CD Automation | Included — the CLI is the CI/CD step | Command-line deployment is a SQL Compare Pro feature; using it in a Redgate Pipeline needs a Flyway Enterprise, Redgate Deploy, or SQL Toolbelt license |
| Cost as You Scale | Stays at $0/year regardless of team size or environment count | Per-user license count grows with the team; data deployment adds a second per-user line item |
Redgate publishes current SQL Compare editions at red-gate.com/products/sql-compare and its per-user prices on the pricing page; SQL Data Compare is priced separately.
A like-for-like comparison covers schema deployment and reference-data deployment in CI/CD. SchemaSmith bundles both in the free CLI. With Redgate, schema and data are separate products, each licensed per user. As team size grows or reference-data tables get added to the workflow, the SchemaSmith side stays at $0; the Redgate side adds two per-user license axes.
Switching from SQL Compare to SchemaSmith starts with one extraction. Run SchemaTongs once to capture current state as a package of JSON and SQL scripts, and that package becomes your new source of truth.
SchemaSmith’s JSON template files are portable and human-readable — no proprietary project format, no per-tool licensing as the team grows.
Pricing and feature data last verified November 2026. Competitor information may change.
Move past point-in-time diffs: extract once, then manage your schema forward as declarative JSON files.
See the forward approachFree schema-as-code for SQL Server, PostgreSQL, MySQL, and MariaDB.
The source is on GitHub for anyone to read.
Get Started on GitHub