-- 0063_contact_log_voice_template.sql
-- ----------------------------------------------------------------------------
-- Pipeline-refactor follow-up. The contact-log captures sales-rep
-- interactions; the v1 UX adds two new columns:
--   - voice_transcript: raw Web Speech API output, kept separate from the
--                       rep-polished `summary` so we can re-render the
--                       transcript verbatim if the rep wants to revisit it.
--   - template_used:    which of the 3 quick-template buttons was tapped, if
--                       any. Surfaces in reports so admins can see how reps
--                       actually log activity (call/visit/email).

ALTER TABLE interest_contact_log
  ADD COLUMN IF NOT EXISTS voice_transcript text,
  ADD COLUMN IF NOT EXISTS template_used text;
