diff --git a/server/src/queries/asset.repository.sql b/server/src/queries/asset.repository.sql index 4694cd20fc..8e9b5366f9 100644 --- a/server/src/queries/asset.repository.sql +++ b/server/src/queries/asset.repository.sql @@ -1132,3 +1132,8 @@ RETURNING "id", "createdAt", "updatedAt" + +-- AssetRepository.deleteFiles +DELETE FROM "asset_files" +WHERE + "id" IN ($1, $2)