Editions and Tiers
Two installs, three editions. The open-source package ships every migration command. The commercial build ships those same commands plus the paid ones; a licence decides which paid commands run. Pro and Enterprise are not two packages — they are licence tiers on that one commercial build.
What each edition adds
| Edition | Licence | Commands |
|---|---|---|
| OSS Core | Apache 2.0 | migrate · info · validate · undo · clean · baseline · repair · import-flyway · db · config · validate-sql (17 migration-safety rules, console or JSON) |
| Pro | Everything in OSS Core | diff (live or stored snapshot, generated SQL, impact annotations) · export-schema · data new · data plan · data apply · data status · validate-sql (custom rules file, security and schema packs, performance analyser, HTML/SARIF and the other paid flags) |
| Enterprise | Everything in Pro | snapshot · plan · preflight · diff --desired-model and impact --fail-on / --impact-format / --impact-output · validate-sql (named profiles, best_practices, performance and naming packs, individual rule IDs) · secret providers |
OSS Core runs and reverses migrations across 20 engines, from the CLI or Python. validate-sql needs no licence for its baseline on the open-source package or the commercial build. A paid flag needs Pro. Pro catches schema and data risk before a release ships. Enterprise shows approvers what will happen, keeps the evidence, and pulls credentials from your secret manager.
Commands that span tiers
These are the same commands. A higher edition keeps the lower coverage and adds the next row. It does not install a second command.
| Command | What each edition adds |
|---|---|
validate-sql | Baseline, with no licence on either install: 17 migration-safety rules, a SAFE/REVIEW/UNSAFE verdict, --files, --dialect, --format console or json, and --placeholders. No performance analyser. A paid flag on the open-source package exits 2. Pro adds --rules-file, --rules security, --rules schema, the performance analyser, --output, --fail-on, --base, --severity-threshold, --no-performance, and the formats sarif, github-actions, gitlab, compact, and html. Enterprise adds named profiles (core, enterprise, strict, technical-debt), the best_practices, performance and naming packs, and individual rule IDs. An individual rule ID from the security or schema pack is Enterprise even though the pack name is Pro. |
diff | Pro compares the live database or the stored snapshot, can generate SQL, and can annotate impact. Enterprise adds --desired-model (and --base, --allow-drops, --max-snapshot-age with it) and, on generated SQL, --fail-on, --impact-format, and --impact-output. |
data | One command. new, plan, apply, and status are Pro. Enterprise does not add a data command. DBLift does not offer data undo or before/after row capture. Schema undo stays a hand-written U script. |
license | Used by both paid editions to activate and inspect a licence. |
Secret providers
Not every edition difference is a command. The secret-resolution mechanism is OSS — any config value can be a URI that DBLift resolves at load time — but the managed-service providers register only on Enterprise, keyed by URI scheme.
| Scheme | Resolves against |
|---|---|
vault:// | HashiCorp Vault |
aws-secrets:// | AWS Secrets Manager |
aws-ssm:// | AWS Systems Manager Parameter Store |
azure-keyvault:// | Azure Key Vault |
gcp-secrets:// | Google Cloud Secret Manager |
Because environment blocks are a plain config merge, each environment can point at a different vault path — see Environments.
What paid commands do on the open-source build
They are visible, not hidden. The open-source build advertises every paid command in --help with its real one-line summary, so you can see what exists before deciding to buy. Running one prints what it does and where to get it, then exits with code 4.
$ dblift diff'diff' is a dblift Pro command and is not included in the open-source edition.Compare applied migrations against live database schema (drift detection).Learn more and upgrade: https://dblift.com/upgrade
When the paid runtime is installed, those stubs are never created — the real command takes the name instead. The same applies to the Python API, where paid client methods exist as stubs that point at the equivalent upgrade.
Exit code 4 means "licence required", not "command failed"
Treat it separately in CI — it is the signal that a pipeline is running the wrong build, not that a migration went wrong.
See Licensing and Activation to activate a key and use it in CI.