Saltar al contenido

app.consent_records

TablaSeguridad a nivel de fila activa

Consent given by a person to an org for one purpose (Section 14.3): the notice version shown, where and when it was captured, and its withdrawal. One row per grant; a withdrawal closes the row and a new grant opens a new row.

Clave primaria: id

Columnas de app.consent_records
ColumnaTipoAdmite nulosDescripción
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org. A row never moves to another org.Hace referencia a app.organizations.id
person_iduuidNoPerson who consented.Hace referencia a app.people.id
purpose_codetextNoPurpose consented to.Hace referencia a private.consent_purposes.code
notice_versiontextNoVersion of the notice or policy shown when consent was given.
sourceapp.consent_sourceNoWhere consent was captured.
captured_attimestamp with time zoneNoWhen consent was given. Set by the database.
captured_ipinetSíClient IP address at capture, as evidence. Set by the database.
withdrawn_attimestamp with time zoneSíWhen the person withdrew consent, or null while it stands.
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.