From e78edca5a8b27277c003af60929e76a686055572 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Fri, 14 Jul 2023 14:40:22 +0200 Subject: [PATCH] :bug: Increase version numbers for ensure execute migrations again --- common/src/app/common/files/defaults.cljc | 2 +- common/src/app/common/files/migrations.cljc | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/common/src/app/common/files/defaults.cljc b/common/src/app/common/files/defaults.cljc index 90c20a611..a3137df2a 100644 --- a/common/src/app/common/files/defaults.cljc +++ b/common/src/app/common/files/defaults.cljc @@ -6,4 +6,4 @@ (ns app.common.files.defaults) -(def version 24) +(def version 28) diff --git a/common/src/app/common/files/migrations.cljc b/common/src/app/common/files/migrations.cljc index a019ea54c..6d06c1b17 100644 --- a/common/src/app/common/files/migrations.cljc +++ b/common/src/app/common/files/migrations.cljc @@ -437,7 +437,7 @@ (update :pages-index update-vals update-container) (update :components update-vals update-container)))) -(defmethod migrate 21 +(defmethod migrate 25 [data] (letfn [(update-object [object] (-> object @@ -449,7 +449,7 @@ (update :pages-index update-vals update-container) (update :components update-vals update-container)))) -(defmethod migrate 22 +(defmethod migrate 26 [data] (letfn [(update-object [object] (cond-> object @@ -466,7 +466,7 @@ (update :pages-index update-vals update-container) (update :components update-vals update-container)))) -(defmethod migrate 23 +(defmethod migrate 27 [data] (letfn [(update-object [object] (cond-> object @@ -493,7 +493,7 @@ (update :pages-index update-vals update-container) (update :components update-vals update-container)))) -(defmethod migrate 24 +(defmethod migrate 28 [data] (letfn [(update-object [objects object] (let [frame-id (:frame-id object)