From 66c07e1336087d28a88e5e3fdf0baabab875af58 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Thu, 25 Jan 2024 11:32:45 +0100 Subject: [PATCH] :sparkles: Reapply again all file migrations on comp-v2 migration --- backend/src/app/features/components_v2.clj | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/backend/src/app/features/components_v2.clj b/backend/src/app/features/components_v2.clj index 03068c6fc..43af93245 100644 --- a/backend/src/app/features/components_v2.clj +++ b/backend/src/app/features/components_v2.clj @@ -1052,6 +1052,10 @@ (update :data assoc :id id) (update :data fdata/process-pointers deref) (update :data fdata/process-objects (partial into {})) + (update :data (fn [data] + (if (> (:version data) 22) + (assoc data :version 22) + data))) (fmg/migrate-file)))) (defn- get-team