Phase 4, re-scoped after a per-field write-site audit found NO mirror duplication
— the role-profile contact/bio/avatar fields hold legitimately-distinct business
data (entered via separate forms), so the original "consolidate into user_profiles"
idea was dropped as contraindicated. Only the dead/placeholder columns are cleaned:
- Migration 104: repairer_profiles.phone/address NOT NULL → nullable; normalize
the '' placeholders (self-service community techs, who never enter business
contact) to NULL. Drop the dead seller_profiles.phone/address/postal_code
columns (never written by any code path; the seller form only collects city).
- Schema: drop .notNull() on repairer phone/address; remove the seller columns.
- technician-service.upsertTechnicianProfile no longer writes the '' placeholders.
No readers of the dropped seller columns. typecheck + lint clean; full suite zero
new failures vs baseline. Docs: ARCHITECTURE_DEBT #5 Phase 4 (re-scoped, done).
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>