app.groups
TableRow level security on
A group space (Section 4.9 Groups): a department, project, crew or custom audience with its own chat and files. Managed in Settings, Communication.
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 |
| name | text | No | Group name, unique in the org. |
| group_kind | app.group_kind | No | Department, Project, Crew or Custom. |
| project_id | uuid | Yes | Project a Project group gathers; set only for Project groups.References app.projects.id |
| description | text | Yes | What the group is for. |
| archived_at | timestamp with time zone | Yes | When the group was archived. An archived group keeps its history and takes no new messages. |
| 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. |
| department_code | text | Yes | Canon department a Department group gathers (xpms.dim_department), so Department audiences reach its members; set only on Department groups.References xpms.dim_department.dept_code |