ragraf_db_drift
Edition: community Capability: db-live Operation page: db_drift
What it does
What changed: between revisions AND between migrations and the database (P1-4)
What problem it solves
Shows what changed in the database structure between revisions without opening the database.
How to call it
ragraf_db_drift()
ragraf -p config/ragraf.yaml query db_drift
The ellipsis stands for a value the agent supplies; optional parameters can be omitted.
Parameters
| Name | Type | Default |
|---|---|---|
| previous_rev | str | None | None |
What it returns
drift, from, migrations_vs_live, to