From fddbc1030aad4e4103e9d981ff85982862d3b22a Mon Sep 17 00:00:00 2001 From: Eli Gao Date: Wed, 25 Dec 2024 04:59:04 +0800 Subject: [PATCH] chore:sync sql for AssetRepository.deleteFiles --- server/src/queries/asset.repository.sql | 5 +++++ 1 file changed, 5 insertions(+) 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)