ALTER TABLE public.client_invoices
  ADD COLUMN IF NOT EXISTS zoho_invoice_id TEXT,
  ADD COLUMN IF NOT EXISTS zoho_sync_status TEXT NOT NULL DEFAULT 'pending',
  ADD COLUMN IF NOT EXISTS zoho_sync_error TEXT;