diff_schema
Preview schema changes by comparing a snapshot against the current data model. Supports merge and mirror modes for additive or full diff reports.
Instructions
Compare a schema snapshot against the current data model and report what applying it would change. Read-only — nothing is modified.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | 'mirror' (default) reports every operation including deletions; 'merge' excludes deletions for an additive diff. | |
| force | No | Bypass the Directus version and database vendor checks | |
| snapshot | Yes | A snapshot as returned by get_schema_snapshot |