Skip to content

app.profile_shares

TableRow level security on

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.

Primary key: id

Columns of app.profile_shares
ColumnTypeNullableDescription
iduuidNoPrimary key, UUID v7.
org_iduuidNoOrg the profile is shared with.References app.organizations.id
person_iduuidYesPerson sharing their profile; NULL when a company shares.References app.people.id
organization_iduuidYesExternal account sharing its company profile; NULL when a person shares.References app.organizations.id
engagement_iduuidYesEngagement the share serves, once there is one; live updates flow only while it is open.References app.engagements.id
shared_attimestamp with time zoneNoWhen consent was given.
revoked_attimestamp with time zoneYesWhen consent was revoked.
deleted_attimestamp with time zoneYesSoft delete time. A row with deleted_at set is ignored by every access helper.
created_attimestamp with time zoneNoWhen the row was inserted. Set by the database.
created_byuuidYesPerson who inserted the row, or null for a platform process. Set by the database.References app.people.id
updated_attimestamp with time zoneNoWhen the row last changed. Set by the database.
updated_byuuidYesPerson who last changed the row, or null for a platform process. Set by the database.References app.people.id