gulliver_drift
Detect schema drift by comparing current tables and columns with the last snapshot, flagging added, removed, and retyped fields plus affected models; save a new baseline after review.
Instructions
Schema drift: compare the connection's tables and columns with the last snapshot (added, removed and retyped columns and tables). The first call saves a snapshot file in the local .gulliver folder; later calls compare against it, and save=true replaces it with the current schema. Only reads catalog metadata, never data. With models it also lists the models that removed or retyped columns break. Use it to catch upstream changes; use gulliver_impact to plan your own change, gulliver_diff to compare rows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | After reviewing the drift, accept the current schema as the new baseline. Leave false to keep reporting the same changes. | |
| manifest | No | Path to a dbt target/manifest.json (alternative to models_dir). | |
| connection | No | Connection name as listed by gulliver_status (from gulliver.toml or GULLIVER_DSN). Omit for the default connection. | |
| models_dir | No | Folder with SQL models (*.sql, dbt-style refs allowed). Use an absolute path. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| next_step | Yes |