aboutsummaryrefslogtreecommitdiff
path: root/crates/secd/store/sqlite/sql/write_identity.sql
blob: aa5935829623ce4b8441095a960376f10984c06a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
insert into identity (
       identity_public_id
       , data
       , created_at
       , updated_at
       , deleted_at
) values (
  $1, $2, $3, $4, $5
) on conflict (identity_public_id) do update
  set data = excluded.data
      , updated_at = excluded.updated_at
      , deleted_at = excluded.deleted_at;