app.certification_shares
TablaSeguridad a nivel de fila activa
A person sharing one profile certification with an org, under a profile_sharing consent record (ADR 0019 carry-over). The org may record its own holder row from it; revoking stops further use and the org keeps only what it recorded.
Clave primaria: id
| Columna | Tipo | Admite nulos | Descripción |
|---|---|---|---|
| id | uuid | No | Primary key, UUID v7. |
| org_id | uuid | No | Org the certification is shared with.Hace referencia a app.organizations.id |
| person_certification_id | uuid | No | Certification shared.Hace referencia a app.person_certifications.id |
| consent_record_id | uuid | No | Consent the person gave for the share.Hace referencia a app.consent_records.id |
| shared_at | timestamp with time zone | No | When it was shared. |
| revoked_at | timestamp with time zone | Sí | When the person revoked the share. |
| accepted_holder_id | uuid | Sí | Holder record the org created from the share; NULL until the org records it.Hace referencia a app.certification_holders.id |
| deleted_at | timestamp with time zone | Sí | Soft delete time. A row with deleted_at set is ignored by every access helper. |
| created_at | timestamp with time zone | No | When the row was inserted. Set by the database. |
| created_by | uuid | Sí | Person who inserted the row, or null for a platform process. Set by the database.Hace referencia a app.people.id |
| updated_at | timestamp with time zone | No | When the row last changed. Set by the database. |
| updated_by | uuid | Sí | Person who last changed the row, or null for a platform process. Set by the database.Hace referencia a app.people.id |