Skip to main content
Compares schemas and optionally row-level data between two build contexts: two targets (e.g. prod:dev) in standard mode, or two virtual environments when virtual mode is enabled. See Data Diffs for detailed usage.

Usage

The first argument is a positional FROM:TO range. Exactly one mode is required: --full, --schema-only, or --bounded <duration>. Full and bounded row comparisons require the model to define unique_key. Bounded mode uses the model’s cursor and falls back to a full row comparison when no cursor is configured.

Flags

Examples

Exit codes

Returns 0 when all selected models have no differences, 1 when any model has schema or row differences.