Errors

Destructive schema change

The schema push removes a field, narrows a type, or changes a key — a change that can drop stored data. It is refused rather than applied.

Code
SCHEMA_CHANGE_DESTRUCTIVE
HTTP status
409
Type
https://myna.sh/errors/schema-change-destructive

What to do

Review it with myna schema diff, and check what the affected fields actually hold. When the loss is intended, pushing with the allow-destructive flag says so explicitly.

Full error reference · All codes

application/problem+json
{
  "type": "https://myna.sh/errors/schema-change-destructive",
  "title": "Destructive schema change",
  "status": 409,
  "code": "SCHEMA_CHANGE_DESTRUCTIVE",
  "detail": "A human-readable explanation of this particular occurrence.",
  "requestId": "req_01k…"
}