create table profile (
  data jsonb not null,
  id text generated always as (data->>'id') stored,
  primary key (id)
);
