Skip to content

ColumnRelationship

Properties

NAME TYPE DESCRIPTION
key
string

Column Key.

type
string

Column type.

status
string

Column status. Possible values: available, processing, deleting, stuck, or failed

error
string

Error message. Displays error generated on failure of creating or deleting an column.

required
boolean

Is column required?

array
boolean

Is column an array?

$createdAt
string

Column creation date in ISO 8601 format.

$updatedAt
string

Column update date in ISO 8601 format.

relatedTable
string

The ID of the related table.

relationType
string

The type of the relationship.

twoWay
boolean

Is the relationship two-way?

twoWayKey
string

The key of the two-way relationship.

onDelete
string

How deleting the parent document will propagate to child documents.

side
string

Whether this is the parent or child side of the relationship

Example