Skip to content

app.project_members

TableRow level security on

Org members assigned to a project with a project role (Section 8). Membership gives assigned-reach capabilities on the project and makes its data readable (invariant 2). Time-boxed.

Primary key: id

Columns of app.project_members
ColumnTypeNullableDescription
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org, derived from app.projects on insert; never accepted from the caller and never changed.References app.organizations.id
project_iduuidNoProject.References app.projects.id
membership_iduuidNoOrg membership of the person, in the project's org.References app.memberships.id
project_roleapp.project_roleNoProject role: Producer, Department Head, Coordinator, Field Supervisor or Field.
valid_fromtimestamp with time zoneNoWhen project access starts.
valid_totimestamp with time zoneYesWhen project access ends; NULL while open-ended.
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