apply_schema
Apply a schema diff to update the live Directus data model, including dropping collections and fields.
Instructions
Apply a schema diff produced by diff_schema. Changes the live data model and can drop collections and fields.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diff | Yes | The { hash, diff } object returned by diff_schema | |
| force | No | Bypass the hash and version safety check | |
| confirm | No | Confirm application |