From 87eeb5031cbd73c066cd5c6e20b3378f22bf315f Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Fri, 31 Jan 2025 14:09:09 +0100 Subject: [PATCH] :bug: Fix issue on new migrations subsystem --- common/src/app/common/files/migrations.cljc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/app/common/files/migrations.cljc b/common/src/app/common/files/migrations.cljc index 181008f7c..a0c2a8494 100644 --- a/common/src/app/common/files/migrations.cljc +++ b/common/src/app/common/files/migrations.cljc @@ -81,7 +81,7 @@ (take-while #(<= % version)) (map #(str "legacy-" %)) (filter #(contains? available-migrations %))) - result (transduce xform conj (d/ordered-set) (range 1 65))] + result (transduce xform conj (d/ordered-set) (range 1 (inc cfd/version)))] result)) (defn migrate-file