-- Add indexes for comment_reactions table (separate from constraints) CREATE INDEX idx_comment_reactions_comment ON comment_reactions(comment_id); CREATE INDEX idx_comment_reactions_user ON comment_reactions(user_id); CREATE INDEX idx_comment_reactions_type ON comment_reactions(type);