aboutsummaryrefslogtreecommitdiff
path: root/crates/secd/store/sqlite/sql/write_session.sql
blob: 467991247c961d7d6f332ba1bfba6a80fe3f079f (plain)
1
2
3
4
5
6
7
8
9
10
insert into session (
       identity_id
       , token_hash
       , created_at
       , expired_at
       , revoked_at
) values (
  (select identity_id from identity where identity_public_id = $1)
  , $2, $3, $4, $5
);