Skip to main content

DomainDraftRelation

Defined in: js-api/src/domains.ts:406

One foreign key touching a drafted table: status: 'ref' became a ref column in the manifest, 'plain' stayed a scalar and code says why (external-ref-out — the target is not in the draft, external-ref-composite, external-ref-key, external-ref-type, external-ref-ambiguous).

Properties​

PropertyTypeDescriptionDefined in
code?stringWhy it stayed a scalar.js-api/src/domains.ts:418
columnstringThe foreign-key column.js-api/src/domains.ts:410
message?stringThe reason as worded for the author.js-api/src/domains.ts:420
status"ref" | "plain"'ref' where the column became a ref, 'plain' where it stayed a scalar.js-api/src/domains.ts:416
tablestringThe remote table holding the foreign key.js-api/src/domains.ts:408
targetColumnstringThe column it points at.js-api/src/domains.ts:414
targetTablestringThe remote table the key points at.js-api/src/domains.ts:412