Skip to content

app.custom_object_relations

TableRow level security on

Links from a custom object record to records, projects, parties, people or other custom object records (Section 4.6.3), one row per link.

Primary key: id

Columns of app.custom_object_relations
ColumnTypeNullableDescription
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org, derived from app.custom_object_records on insert; never accepted from the caller and never changed.References app.organizations.id
from_record_iduuidNoCustom object record the link starts from.References app.custom_object_records.id
relation_keytextNoName of the relation, such as sponsor or venue.
to_custom_record_iduuidYesLinked custom object record.References app.custom_object_records.id
to_record_iduuidYesLinked record.References app.records.id
to_project_iduuidYesLinked project.References app.projects.id
to_counterparty_iduuidYesLinked party (counterparty organization).References app.counterparties.id
to_person_iduuidYesLinked person.References app.people.id
created_attimestamp with time zoneNoWhen the row was inserted. Set by the database.
created_byuuidYesPerson who inserted the row, or null for a platform process. Set by the database.References app.people.id
updated_attimestamp with time zoneNoWhen the row last changed. Set by the database.
updated_byuuidYesPerson who last changed the row, or null for a platform process. Set by the database.References app.people.id
deleted_attimestamp with time zoneYesSoft delete time. A row with deleted_at set is ignored by every access helper.