From 15c91a5de58b9b11f2a8d40201b5c3f6b9811dd6 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Wed, 25 Jun 2025 13:26:32 +0200 Subject: [PATCH] :sparkles: Make the bool-content normalize migration idempotent --- common/src/app/common/files/migrations.cljc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/src/app/common/files/migrations.cljc b/common/src/app/common/files/migrations.cljc index 02b43cbd14..3cad118502 100644 --- a/common/src/app/common/files/migrations.cljc +++ b/common/src/app/common/files/migrations.cljc @@ -1284,7 +1284,8 @@ ;; rollback, we still need to perform an other migration ;; for properly delete the bool-content prop from shapes ;; once the know the migration was OK - (if (cfh/bool-shape? object) + (if (and (cfh/bool-shape? object) + (not (contains? object :content))) (if-let [content (:bool-content object)] (assoc object :content content) object)