♻️ Always set component-file-id, even in local file

This commit is contained in:
Andrés Moya 2020-12-04 15:31:03 +01:00 committed by Andrey Antukh
parent 53b5d78cdc
commit baec7838b4
24 changed files with 284 additions and 258 deletions

View file

@ -67,6 +67,7 @@
(db/with-atomic [conn db/pool]
(let [mobjs (map :id (db/query conn :media-object {:file-id id}))
data (-> (blob/decode data)
(assoc :id id)
(pmg/migrate-data))
used (collect-used-media data)