A community based topic aggregation platform built on atproto

fix(db): remove redundant index and add missing record_uri index master

Database optimization changes: 1. Removed redundant idx_blocks_user_community index: - UNIQUE constraint on (user_did, community_did) already creates an index automatically - Maintaining duplicate index wastes storage and degrades write performance (every insert updates two identical indexes) 2. Added missing idx_blocks_record_uri index: - Required for GetBlockByURI() queries used in Jetstream DELETE operations - Without this index, DELETE event processing does full table scan Migration now has optimal indexes without redundancy. Addresses: Critical review comments #1 and #7


+3 -2
1 changed file