mirror of
https://github.com/penpot/penpot.git
synced 2025-05-10 14:46:38 +02:00
🐛 Properly handle fdata features on file-gc task
It also adds a schema validation process after cleaning. If file does not validates it will be skiped.
This commit is contained in:
parent
bc3d268f57
commit
afd68fa09d
4 changed files with 284 additions and 245 deletions
|
@ -222,7 +222,7 @@
|
|||
(t/is (= 1 (:processed result))))
|
||||
|
||||
(let [result (th/run-task! :objects-gc {:min-age 0})]
|
||||
(t/is (= 1 (:processed result))))
|
||||
(t/is (= 2 (:processed result))))
|
||||
|
||||
;; check if row1 related thumbnail row still exists
|
||||
(let [[row :as rows] (th/db-query :file-thumbnail
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue