ALTER TABLE rm_users
  ADD COLUMN IF NOT EXISTS password_reset_token VARCHAR(255),
  ADD COLUMN IF NOT EXISTS password_reset_expires TIMESTAMPTZ;

CREATE INDEX IF NOT EXISTS idx_rm_users_password_reset_token
  ON rm_users(password_reset_token)
  WHERE password_reset_token IS NOT NULL;
