Skip to main content
A block record represents a directed edge where one user (the blocker) has blocked another (the blocked). A block simply exists or doesn’t — there is no status column. Blocks are part of the trust & safety moderation bundle; the table is provisioned only in projects that have that bundle installed. Blocks are private to the blocker — only the blocker can read their own block list, and the block-status read is outbound-only, so the block is never disclosed to the blocked user.

Properties

The pair (blockerId, blockedId) is unique. Blocking someone already blocked is an idempotent no-op. Deleting either user removes their block edges in both directions.

See Also