app.profile_shares
TablaSeguridad a nivel de fila activa
Consent to share profile fields with one org (Section 4.4.1): the snapshot taken when a person or company applies or is engaged. Revoking stops future updates; the org keeps the snapshot it must retain.
Clave primaria: id
| Columna | Tipo | Admite nulos | Descripción |
|---|---|---|---|
| id | uuid | No | Primary key, UUID v7. |
| org_id | uuid | No | Org the profile is shared with.Hace referencia a app.organizations.id |
| person_id | uuid | Sí | Person sharing their profile; NULL when a company shares.Hace referencia a app.people.id |
| organization_id | uuid | Sí | External account sharing its company profile; NULL when a person shares.Hace referencia a app.organizations.id |
| engagement_id | uuid | Sí | Engagement the share serves, once there is one; live updates flow only while it is open.Hace referencia a app.engagements.id |
| shared_at | timestamp with time zone | No | When consent was given. |
| revoked_at | timestamp with time zone | Sí | When consent was revoked. |
| 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 |