State-based schema management for SQL Server, PostgreSQL, MySQL, and MariaDB — vs SQL-Server-only DACPAC artifacts built from SQL projects.
SchemaSmith and DACPAC are both state-based, and both are free. The main differences are platform reach and how much tooling each one needs. SchemaSmith covers SQL Server, PostgreSQL, MySQL, and MariaDB from one lightweight CLI with readable JSON files in source control. DACPAC (built from a SQL project authored in VS Code or Visual Studio, applied by the sqlpackage CLI) is SQL Server and Azure SQL only, and compiles the project's SQL files into an XML model artifact before anything deploys.
How the tools differ in approach, features, and developer experience.
| Aspect | SchemaSmith | DACPAC / SSDT |
|---|---|---|
| Approach | State-based, CLI-first | State-based, built from a SQL project |
| Platform Coverage | SQL Server, PostgreSQL, MySQL, MariaDB (platform-specific schema definitions) | SQL Server & Azure SQL only |
| Source Format | JSON template files (one per table, plus indexed views) and SQL scripts (one per procedure, function, trigger, or ordinary view) | SQL files compiled to an XML model artifact (.dacpac) |
| Authoring Tooling | Any text editor or IDE | VS Code with the SQL Database Projects extension (SDK-style projects, generally available), or Visual Studio with SSDT |
| Build / Deploy Steps | One-step: SchemaQuench applies state directly |
Two-step: dotnet build (or MSBuild) compiles to .dacpac, then sqlpackage applies it |
| PR Readability | JSON template diffs read like the change you made | SQL files diff cleanly; the compiled .dacpac (XML) does not |
| Cross-Platform | SchemaSmith CLI runs on Windows, macOS, Linux, ARM64 | sqlpackage CLI runs on Windows, macOS, Linux; SDK-style SQL projects build on .NET 8+ on any of them; SSDT in Visual Studio is Windows only |
| Drift Detection | Built-in — compares live database to declared state on every run | sqlpackage /Action:DeployReport on demand |
| Reference Data | Declarative DataDelivery blocks; two-pass FK-aware loader |
Pre / post-deploy scripts authored by hand |
| Failed Deployment Recovery | Checkpoint & resume (--ResumeQuench); skips completed work on retry |
Re-run sqlpackage; manual cleanup if mid-deploy state is partial |
| Conditional Deployment | ShouldApplyExpression — one file applies per database, env, or version |
SSDT publish profiles per environment |
| SQL Server Availability Groups | Target:SecondaryServers — primary plus secondaries quenched in parallel |
Apply per server; orchestration is the deployer’s problem |
| Customization | Custom script folders — declare your own deployment slots and ordering | Pre / post-deploy hooks, publish-profile flags |
| Licensing | Free under SSCL v2.0 (source-available); unlimited seats | Free: sqlpackage is a free Microsoft download, and SDK-style SQL projects build with the .NET SDK |
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. For teams running DACPAC against AGs or multi-environment SQL Server fleets, that’s orchestration you would otherwise script around sqlpackage by hand.
DataDelivery) bundled with schema deploymentBoth tools are free. The comparison is about tooling weight and developer workflow.
| Aspect | SchemaSmith | DACPAC / SSDT |
|---|---|---|
| Cost | $0/year — free for any purpose, any organization, any scale | Free (sqlpackage is a free Microsoft download; SDK-style SQL projects build with the .NET SDK, and SSDT ships with Visual Studio) |
| Authoring Dependency | Any text editor or IDE; JSON template files in source control | A SQL project, authored in VS Code, SSMS, or Visual Studio with SSDT |
| Deployment Pipeline | One step: SchemaQuench applies declared state directly |
Two steps: the SQL project builds to a .dacpac, sqlpackage applies it |
| Source-Control Diffs | Per-object JSON files; diffs read like the change you made | Source SQL files diff cleanly; the compiled .dacpac (XML) does not |
| Cross-Platform Authoring | Yes — CLI and JSON files run anywhere | Yes with SDK-style SQL projects (VS Code, .NET 8+); SSDT in Visual Studio is Windows only; sqlpackage CLI runs cross-platform |
Both tools cost $0. The trade-off is workflow shape: SchemaSmith’s lightweight CLI + JSON templates buys you a one-step deploy with no build, and multi-database coverage out of the box. SQL projects + sqlpackage buy you Microsoft’s first-party SQL Server toolchain, now cross-platform through SDK-style projects, and tight Azure DevOps integration. Pick the one that matches how your team already works — and the platforms you actually have to support.
Switching from DACPAC / SSDT 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.
Your SSDT project stays on the shelf as a record of how the database got here. SchemaSmith takes over schema management from the current state forward.
Pricing and feature data last verified November 2026. Competitor information may change.
Replace SQL projects and compiled .dacpac artifacts with JSON templates and SQL scripts in source control.
Start the DACPAC labFree schema-as-code for SQL Server, PostgreSQL, MySQL, and MariaDB.
The source is on GitHub for anyone to read.
Get Started on GitHub