create table raw_data(
  data_type varchar(8) not null,
  id bigint not null,
  username varchar not null references users(username),
  payload jsonb,

  primary key(data_type, id)
);
