0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-24 15:39:50 -05:00

Reapply again all file migrations on comp-v2 migration

This commit is contained in:
Andrey Antukh 2024-01-25 11:32:45 +01:00
parent e6766bac8f
commit 66c07e1336

View file

@ -1052,6 +1052,10 @@
(update :data assoc :id id) (update :data assoc :id id)
(update :data fdata/process-pointers deref) (update :data fdata/process-pointers deref)
(update :data fdata/process-objects (partial into {})) (update :data fdata/process-objects (partial into {}))
(update :data (fn [data]
(if (> (:version data) 22)
(assoc data :version 22)
data)))
(fmg/migrate-file)))) (fmg/migrate-file))))
(defn- get-team (defn- get-team