ALTER TABLE users
  ADD COLUMN IF NOT EXISTS phone                VARCHAR(50),
  ADD COLUMN IF NOT EXISTS email_confirmed      BOOLEAN      NOT NULL DEFAULT FALSE,
  ADD COLUMN IF NOT EXISTS confirmation_token   VARCHAR(255),
  ADD COLUMN IF NOT EXISTS confirmation_sent_at TIMESTAMPTZ;

-- Existing users (seed data) are already confirmed
UPDATE users SET email_confirmed = TRUE WHERE confirmation_token IS NULL;
