organization_group_tombstones API Postgres table
Durable authority tombstone preventing a deleted organization group from being recreated as either an organization-scoped or standalone principal.
Declared in packages/api-shared/src/schema/groups.ts
Columns
group_iduuid- primary key
- not null
organization_iduuid- not null
Organization the group belonged to. Organization purge reads it to clear the principal history of every group it deleted.
deleted_cursorbigint- not null
- default 0
The organization read-model cursor that deleted the group's membership; a membership delta after an older cursor reports the group as deleted. Organization purge leaves it at 0 because the purged organization has no read model left to replay.
Indexes
organization_group_tombstones_org_idx(organization_id, deleted_cursor)