Saltar al contenido

app.ownership_transfers

TablaSeguridad a nivel de fila activa

An Owner's offer to hand the org to another member (Section 14.7). The member accepts with step-up (a second factor) within 7 days; the old Owner then becomes an Admin, or leaves if they chose to, and the org keeps an Owner at every step (invariant 4). Written only by the transfer RPCs; every change is audited.

Clave primaria: id

Columnas de app.ownership_transfers
ColumnaTipoAdmite nulosDescripción
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org. A row never moves to another org.Hace referencia a app.organizations.id
from_person_iduuidNoOwner who offered the org.Hace referencia a app.people.id
to_person_iduuidNoMember the org is offered to; becomes an Owner on accepting.Hace referencia a app.people.id
previous_owner_outcometextNoWhat happens to the Owner who offered on acceptance: admin (becomes an Admin) or leave (their membership ends).
offered_attimestamp with time zoneNoWhen the offer was made.
expires_attimestamp with time zoneNoWhen an unanswered offer lapses: midnight on the org's calendar after the seventh whole day after it was made.
accepted_attimestamp with time zoneSíWhen the member accepted and became an Owner.
declined_attimestamp with time zoneSíWhen the member declined.
canceled_attimestamp with time zoneSíWhen an Owner withdrew the offer.
canceled_byuuidSíOwner who withdrew it.Hace referencia a app.people.id
expired_attimestamp with time zoneSíWhen the lifecycle job found the offer unanswered past its end.
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.