-- Additive: client contact fields (email/phone) + lead archive flag.
-- Reuse: lead.email/phone carry over to the client on conversion; email also
-- feeds the v2.3 Email & Accesso (OTP) milestone. leads.archived hides a
-- converted lead from the pipeline while keeping its "won" status.
-- No drops/truncates. Safe to re-run.
ALTER TABLE clients ADD COLUMN IF NOT EXISTS email text;
ALTER TABLE clients ADD COLUMN IF NOT EXISTS phone text;
ALTER TABLE leads   ADD COLUMN IF NOT EXISTS archived boolean NOT NULL DEFAULT false;
