-- Baron user metadata staging normalization.
-- Idempotently removes legacy classification flags that are no longer SoT.

update users
set metadata = metadata - 'hanmacFamily' - 'userType',
    updated_at = now()
where metadata ? 'hanmacFamily'
   or metadata ? 'userType';
