A community based topic aggregation platform built on atproto

feat(db): add migration for comment deletion metadata master

Add migration 021 that: - Creates deletion_reason enum type (author, moderator) - Adds deletion_reason and deleted_by columns to comments table - Backfills existing deleted comments as author-deleted - Removes deleted_at IS NULL filter from thread indexes to preserve structure - Adds indexes for deletion_reason and deleted_by for moderation queries 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>


+66
1 changed file