Some checks are pending
NordaBiz Tests / Unit & Integration Tests (push) Waiting to run
NordaBiz Tests / E2E Tests (Playwright) (push) Blocked by required conditions
NordaBiz Tests / Smoke Tests (Production) (push) Blocked by required conditions
NordaBiz Tests / Send Failure Notification (push) Blocked by required conditions
Brave Search matched unrelated companies by name token (e.g. VINDOR matched vindorclothing, vindormusic, beautybyneyador). Social media profiles are now sourced only from website scraping and manual admin entry. - Disabled BraveSearcher initialization and call in audit_company() - Removed Brave Search step from audit progress animation - Updated missing profile message with explanation and link to profile editor - Added migration 071 to clean up existing brave_search entries Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
14 lines
578 B
SQL
14 lines
578 B
SQL
-- Migration 071: Remove false positive social media entries from Brave Search
|
|
-- Brave Search produced many false positives (matching unrelated companies by name token).
|
|
-- Social media profiles are now sourced only from website scraping and manual admin entry.
|
|
|
|
-- First, let's see what we're deleting (for audit purposes)
|
|
-- SELECT company_id, platform, url, source, verified_at
|
|
-- FROM company_social_media
|
|
-- WHERE source = 'brave_search'
|
|
-- ORDER BY company_id, platform;
|
|
|
|
-- Delete all Brave Search entries
|
|
DELETE FROM company_social_media
|
|
WHERE source = 'brave_search';
|