-- Add link_context to track where on the page a link appears
ALTER TABLE crawl_links
  ADD COLUMN IF NOT EXISTS link_context VARCHAR(20) DEFAULT 'Body' AFTER anchor_text;

CREATE INDEX IF NOT EXISTS idx_crawl_links_context ON crawl_links(link_context);
