aboutsummaryrefslogtreecommitdiff
path: root/crates/secd/store/pg/sql/write_identity.sql
blob: 94a51fea74e2efeeb62e64cc417dcb9910e121c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
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;