app.workforce_events
TableRow level security on
A briefing, crew call or meeting (Section 4.9 Events) for an audience, with RSVP, location, agenda and check-in.
Primary key: id
| Column | Type | Nullable | Description |
|---|---|---|---|
| id | uuid | No | Primary key, UUID v7. |
| org_id | uuid | No | Owning org. A row never moves to another org.References app.organizations.id |
| organizer_membership_id | uuid | Yes | Member who organizes the event.References app.memberships.id |
| event_kind | app.workforce_event_kind | No | Briefing, Crew Call or Meeting. |
| title | text | No | Event title. |
| agenda | text | Yes | Agenda, in order. |
| location | text | Yes | Where to meet, in words. |
| venue_id | uuid | Yes | Venue of the event, when it is at one.References app.venues.id |
| space_id | uuid | Yes | Space within the venue.References app.spaces.id |
| audience_kind | app.audience_kind | No | Who is invited: Organization, Project, Team, Role or Group. |
| project_id | uuid | Yes | Project audience, or the project the event belongs to.References app.projects.id |
| team_id | uuid | Yes | Team audience.References app.teams.id |
| role_id | uuid | Yes | Org role audience.References app.roles.id |
| group_id | uuid | Yes | Group audience.References app.groups.id |
| starts_at | timestamp with time zone | No | Start. |
| ends_at | timestamp with time zone | No | End, at most seven days after the start. |
| rsvp_required | boolean | No | Whether invitees are asked to RSVP. |
| canceled_at | timestamp with time zone | Yes | When the event was canceled. |
| cancel_reason | text | Yes | Why it was canceled. |
| created_at | timestamp with time zone | No | When the row was inserted. Set by the database. |
| created_by | uuid | Yes | Person who inserted the row, or null for a platform process. Set by the database.References app.people.id |
| updated_at | timestamp with time zone | No | When the row last changed. Set by the database. |
| updated_by | uuid | Yes | Person who last changed the row, or null for a platform process. Set by the database.References app.people.id |
| deleted_at | timestamp with time zone | Yes | Soft delete time. A row with deleted_at set is ignored by every access helper. |