Skip to content

Commit

Permalink
forms.purge(): don't return unused columns (#1181)
Browse files Browse the repository at this point in the history
  • Loading branch information
alxndrsn authored Sep 4, 2024
1 parent 898fbb4 commit 33f2213
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/model/query/forms.js
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ with redacted_audits as (
), deleted_forms as (
delete from forms
where ${_trashedFilter(force, id, projectId, xmlFormId)}
returning *
returning 1
)
select count(*) from deleted_forms`)
.then((count) => Blobs.purgeUnattached()
Expand Down

0 comments on commit 33f2213

Please sign in to comment.