Something went wrong. Try again.
A community based topic aggregation platform built on atproto
Something went wrong. Try again.
feat(db): add community blocking repository layer master
Implement PostgreSQL repository for community blocking with: - BlockCommunity: Create/update block (idempotent via ON CONFLICT DO UPDATE) - UnblockCommunity: Remove block - GetBlock: Retrieve block by user/community DIDs - GetBlockByURI: Retrieve block by AT-URI (for Jetstream DELETE ops) - ListBlockedCommunities: Paginated list of user's blocks - IsBlocked: Fast boolean check using EXISTS All methods use direct string values (not sql.NullString) since record_uri and record_cid are NOT NULL in the schema. Fixes: PR review comment #2, #3 (P0 - Critical) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Author Bretton Co-author Claude Date (Oct 18, 2025, 12:56 AM UTC) Commit 7098ddfd 7098ddfd30106fbea83e7f10f2818d308ff342e8 Parent 7aff1966 7aff1966194eeca5ee279dc6245e9c46e249cda2