From 587735a9015b33e28d5effb4297336001c2a300d Mon Sep 17 00:00:00 2001 From: "alonso.torres" Date: Wed, 25 Oct 2023 12:17:36 +0200 Subject: [PATCH] :bug: Fix problem with migration numbers --- backend/src/app/rpc/commands/binfile.clj | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/backend/src/app/rpc/commands/binfile.clj b/backend/src/app/rpc/commands/binfile.clj index de6b184d0..3d5ca7316 100644 --- a/backend/src/app/rpc/commands/binfile.clj +++ b/backend/src/app/rpc/commands/binfile.clj @@ -686,7 +686,14 @@ (assoc data :version cfd/version) data) + ;; FIXME + ;; We're temporarily activating all migrations because a problem in + ;; the environments messed up with the version numbers + ;; When this problem is fixed delete the following line + data (-> data (assoc :version 0)) + data (-> data + (cond-> migrate? (pmg/migrate-data)) (update :pages-index relink-shapes) (update :components relink-shapes)