Saltar al contenido

app.template_versions

TablaSeguridad a nivel de fila activa

Versions of a template: project defaults and ordered items. Edited while a draft; frozen once published.

Clave primaria: id

Columnas de app.template_versions
ColumnaTipoAdmite nulosDescripción
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org, derived from app.templates on insert; never accepted from the caller and never changed.Hace referencia a app.organizations.id
template_iduuidNoTemplate the version belongs to.Hace referencia a app.templates.id
version_numberintegerNoVersion number, issued in order on insert, 1 first.
notestextSíWhat changed in this version.
default_time_zonetextSíIANA time zone a new project starts with, when the person applying does not give one.
default_tier_codetextSíCanon tier a new project starts with.Hace referencia a xpms.dim_tier.tier_code
default_region_codetextSíCanon region a new project starts with.Hace referencia a xpms.dim_region.region_code
default_jurisdiction_idtextSíCanon jurisdiction a new project starts with.Hace referencia a xpms.jurisdiction.jurisdiction_id
default_currency_codecharacter(3)SíISO 4217 currency a new project starts with.Hace referencia a private.currencies.currency_code
duration_daysintegerSíLength of the project in days; the end date is the start date plus this length less one day.
published_attimestamp with time zoneSíWhen the version was published; NULL while it is a draft. Set only by app.publish_template_version.
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