-- NOTE: This file is auto generated by ./sql-generator

-- SyncCheckpointRepository.getAll
select
  "type",
  "ack"
from
  "session_sync_checkpoint"
where
  "sessionId" = $1

-- SyncCheckpointRepository.deleteAll
delete from "session_sync_checkpoint"
where
  "sessionId" = $1

-- SyncCheckpointRepository.getNow
select
  immich_uuid_v7 (now() - interval '1 millisecond') as "nowId"
