mirror of
https://github.com/immich-app/immich.git
synced 2025-01-21 00:52:43 -05:00
a35af2b242
* refactor: migrate move repository to kysely * fix: tests * fix: tests
17 lines
251 B
SQL
17 lines
251 B
SQL
-- NOTE: This file is auto generated by ./sql-generator
|
|
|
|
-- MoveRepository.getByEntity
|
|
select
|
|
*
|
|
from
|
|
"move_history"
|
|
where
|
|
"entityId" = $1
|
|
and "pathType" = $2
|
|
|
|
-- MoveRepository.delete
|
|
delete from "move_history"
|
|
where
|
|
"id" = $1
|
|
returning
|
|
*
|