Saltar al contenido

app.offer_versions

TablaSeguridad a nivel de fila activa

Append-only terms of an offer, one row per proposal or counter, numbered by the database. Both sides read every version; nothing internal is stored here.

Clave primaria: id

Columnas de app.offer_versions
ColumnaTipoAdmite nulosDescripción
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org, derived from app.offers on insert; never accepted from the caller and never changed.Hace referencia a app.organizations.id
offer_iduuidNoOffer.Hace referencia a app.offers.id
version_numberintegerNoVersion within the offer, issued by the database; the highest is in force.
proposed_sideapp.offer_sideNoOrganization or Party.
proposed_byuuidSíPerson who proposed it, set from the session.Hace referencia a app.people.id
rate_typeapp.rate_typeSíHourly, Day, Flat or Milestone.
amount_minorbigintSíOffered amount per rate unit in minor units; NULL when the version leaves the amount open.
currency_codecharacter(3)SíISO 4217 currency of the amount.Hace referencia a private.currencies.currency_code
starts_ondateSíFirst day of the work offered.
ends_ondateSíLast day of the work offered.
messagetextSíMessage to the other side with the terms. Visible to both sides.
expires_attimestamp with time zoneSíWhen the version lapses unanswered.
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
deleted_attimestamp with time zoneSíSoft delete time. A row with deleted_at set is ignored by every access helper.