create table if not exists {schema}.user_settings ( user_id uuid not null, key text not null, value_ciphertext bytea not null, value_nonce bytea not null, value_key_id text not null, updated_at timestamptz not null default now(), primary key (user_id, key) );