insert into secd.identity (
       identity_public_id,
       data,
       created_at
) values (
       $1,
       $2,
       $3
) on conflict(identity_public_id) do update
  set data = excluded.data
      , deleted_at = excluded.deleted_at;
