groups API Postgres table
Basic group catalog rows.
Declared in packages/api-shared/src/schema/groups.ts
Description
Groups are managed recipient principals. This table keeps the lightweight group identity record; signed group membership, roles, and key material live in principalStates and principalMembershipProjection.
Columns
iduuid- primary key
- not null
- default gen_random_uuid()
Stable group id.
organization_iduuid- nullable
Organization that owns the group, when the group is organization-scoped.
membership_cursorbigint- not null
- default 0
Organization read-model cursor of the group's last membership change; display-sync metadata only.
created_attimestamp- not null
- default now()
Server-side insertion timestamp.
Indexes
groups_organization_id_idx(organization_id, id)