app.scope_nodes
TablaSeguridad a nivel de fila activa
The scope tree of a project (Section 4.5.1): one engagement root, with standing venues and shows beneath it. Every project tab filters by scope node.
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.projects on insert; never accepted from the caller and never changed.Hace referencia a app.organizations.id |
| project_id | uuid | No | Project the node belongs to.Hace referencia a app.projects.id |
| parent_id | uuid | Sí | Parent node in the same project; NULL only for the engagement root.Hace referencia a app.scope_nodes.id |
| scope_kind | app.scope_kind | No | Engagement Root, Standing Venue or Show. |
| scope_code | text | No | Scope code, unique within the project, for example NWL-E01. Event cost centers name it. |
| name | text | No | Node name. |
| venue_id | uuid | Sí | Venue of a standing venue or show node.Hace referencia a app.venues.id |
| path | ltree | No | Materialized ltree path of scope codes from the root (hyphens written as underscores, as ltree labels require), maintained by the database from parent_id and scope_code. |
| deleted_at | timestamp with time zone | Sí | Soft delete time. A row with deleted_at set is ignored by every access helper. |
| 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 |