app.custom_object_relations
TablaSeguridad a nivel de fila activa
Links from a custom object record to records, projects, parties, people or other custom object records (Section 4.6.3), one row per link.
Clave primaria: id
| Columna | Tipo | Admite nulos | Descripción |
|---|---|---|---|
| id | uuid | No | Primary key, UUID v7. |
| org_id | uuid | No | Owning org, derived from app.custom_object_records on insert; never accepted from the caller and never changed.Hace referencia a app.organizations.id |
| from_record_id | uuid | No | Custom object record the link starts from.Hace referencia a app.custom_object_records.id |
| relation_key | text | No | Name of the relation, such as sponsor or venue. |
| to_custom_record_id | uuid | Sí | Linked custom object record.Hace referencia a app.custom_object_records.id |
| to_record_id | uuid | Sí | Linked record.Hace referencia a app.records.id |
| to_project_id | uuid | Sí | Linked project.Hace referencia a app.projects.id |
| to_counterparty_id | uuid | Sí | Linked party (counterparty organization).Hace referencia a app.counterparties.id |
| to_person_id | uuid | Sí | Linked person.Hace referencia a app.people.id |
| created_at | timestamp with time zone | No | When the row was inserted. Set by the database. |
| created_by | uuid | Sí | Person who inserted the row, or null for a platform process. Set by the database.Hace referencia a app.people.id |
| updated_at | timestamp with time zone | No | When the row last changed. Set by the database. |
| updated_by | uuid | Sí | Person who last changed the row, or null for a platform process. Set by the database.Hace referencia a app.people.id |
| deleted_at | timestamp with time zone | Sí | Soft delete time. A row with deleted_at set is ignored by every access helper. |