Saltar al contenido

app.projects

TablaSeguridad a nivel de fila activa

One engagement with jurisdiction, phase and gates (Section 4.5.1, Section 7.4 Scope). Project data is readable by project members and assigned people, not the whole org (invariant 2).

Clave primaria: id

Columnas de app.projects
ColumnaTipoAdmite nulosDescripción
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org. A row never moves to another org.Hace referencia a app.organizations.id
workspace_iduuidSíWorkspace that scopes the project, when the org uses workspaces.Hace referencia a app.workspaces.id
venue_iduuidSíPrimary venue; its jurisdiction supplies responding agencies (engagement contract project_authority).Hace referencia a app.venues.id
client_counterparty_iduuidSíClient the project is produced for.Hace referencia a app.counterparties.id
project_keytextNoTwo to five capital letters, unique per org (for example NWL). Record display keys are {project_key}-{sequence}.
nametextNoProject name.
jurisdiction_idtextSíJurisdiction resolved for the project at gate 1 (Section 3.5). NULL until resolved; an unresolved jurisdiction answers no permit or code question.Hace referencia a xpms.jurisdiction.jurisdiction_id
region_codetextSíCost region the project prices in (Bible tab 12).Hace referencia a xpms.dim_region.region_code
tier_codetextSíTier of experience (Bible tab 07).Hace referencia a xpms.dim_tier.tier_code
current_phase_codetextNoCurrent gated phase. Changes only through app.pass_gate (invariant 9).Hace referencia a xpms.dim_phase.phase_code
project_stateapp.project_stateNoProject lifecycle state. Changes only through app.transition_project.
production_stateapp.production_stateNoProduction lifecycle state. Changes only through app.transition_production; Closed refuses new spend (invariant 10).
time_zonetextNoIANA time zone the project's typed local times are entered in.
starts_ondateSíFirst production day.
ends_ondateSíLast production day.
archived_attimestamp with time zoneSíWhen the project was archived. Archived projects stay searchable behind a filter (Section 4.10).
deleted_attimestamp with time zoneSíSoft delete time. A row with deleted_at set is ignored by every access helper.
created_attimestamp with time zoneNoWhen the row was inserted. Set by the database.
created_byuuidSíPerson who inserted the row, or null for a platform process. Set by the database.Hace referencia a app.people.id
updated_attimestamp with time zoneNoWhen the row last changed. Set by the database.
updated_byuuidSíPerson who last changed the row, or null for a platform process. Set by the database.Hace referencia a app.people.id
currencycharacter(3)NoBase currency of the project (ISO 4217). Defaults to the currency of the jurisdiction's country, then the org's base currency setting, when the caller gives none.Hace referencia a private.currencies.currency_code
descriptiontextSíWhat the project is, in sentence case.
anchor_ondateSíAnchor date (usually the show day) that template day offsets count from.
budget_envelope_minorbigintSíBudget envelope approved for the project, in minor units of currency; NULL when none is set.