Skip to content

DESCRIBE ASSOCIATION emits DELETE_CASCADE but parser only accepts CASCADE #388

@retran

Description

@retran

Impact

Association DESCRIBE output is not roundtrippable. Drop-and-recreate workflows break with a parse error.

Steps to Reproduce

  1. Create an association with delete_behavior CASCADE
  2. Run DESCRIBE ASSOCIATION Module.Name
  3. Output contains delete_behavior DELETE_CASCADE
  4. Drop the association
  5. Re-execute the DESCRIBE output verbatim
  6. Parser rejects DELETE_CASCADE — expects CASCADE

Expected Behavior

DESCRIBE output uses the same token the parser accepts (CASCADE), making output roundtrippable.

Severity

High — breaks any automated roundtrip or migration workflow.


Discovered during AI-assisted manual testing session (2026-04-29, mxcli v0.7.0-257-ga07e7e0).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions