CREATE TABLE IF NOT EXISTS users (
    user_id       String,
    provider      LowCardinality(String),
    email         String DEFAULT '',
    display_name  String DEFAULT '',
    roles         Array(LowCardinality(String)),
    created_at    DateTime64(3, 'UTC') DEFAULT now64(3, 'UTC'),
    updated_at    DateTime64(3, 'UTC') DEFAULT now64(3, 'UTC')
) ENGINE = ReplacingMergeTree(updated_at)
ORDER BY (user_id);
