add_relations_batch
⚡ Creates several FK relations in a single call — used in phase 3 of the ERD workflow, after all the reference fields have been created via add_fields_batch. Each entry defines cardinalityFrom + cardinalityTo (Merise crow's foot).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| relations | Yes | List of relations to create in a single call. | |
| expectedProjectId | No | UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted. |