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