mirror of
https://github.com/penpot/penpot.git
synced 2025-01-22 14:39:45 -05:00
🐛 Don't run file-gc on deleted files
This commit is contained in:
parent
f18be26054
commit
6b552fd8a9
1 changed files with 1 additions and 0 deletions
|
@ -79,6 +79,7 @@
|
|||
FROM file AS f
|
||||
WHERE f.has_media_trimmed IS false
|
||||
AND f.modified_at < now() - ?::interval
|
||||
AND f.deleted_at IS NULL
|
||||
ORDER BY f.modified_at DESC
|
||||
FOR UPDATE
|
||||
SKIP LOCKED")
|
||||
|
|
Loading…
Add table
Reference in a new issue