db_drift
Edition: community ragraf_db_drift
What changed: between revisions AND between migrations and the database (P1-4)
Parameters
| Name | Type | Default |
|---|---|---|
| previous_rev | str | None | None |
Call example
ragraf -p config/ragraf.yaml query db_drift
Angle brackets mark a required parameter; defaults may be omitted.
What it returns
drift, from, migrations_vs_live, to
When it refuses
An empty result is exit code 0 with found=false, not an error. Code 3 is returned only when the operation cannot run right now: for example slice when capability is not full. The reason is always named in the note field.