CloudKit: Diff Schema
cloudkit_diff_schemaShow pending differences between development and production CloudKit schemas before deploying, listing one change per row. Detects non-additive changes to prevent irreversible production schema alterations.
Instructions
Show what deploying would change: the pending differences between the container's DEVELOPMENT and PRODUCTION schemas, one row per change. Read this before cloudkit_deploy_schema. Production is additive-only and irreversible — a field can be added forever, but never removed, renamed or retyped — so a diff proposing anything other than additions is a reason to stop.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| containerId | No | The iCloud container id, e.g. "iCloud.com.acme.App". Get it from cloudkit_list_containers, or set CLOUDKIT_CONTAINER_ID to default it. |