Skip to content

Commit

Permalink
fix migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
sprocketc committed Aug 30, 2024
1 parent f18ef2e commit c34481d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/renderer/utils/migrations.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
(def migrations
[[[0 3] (fn [document]
(-> document
(set/rename-keys {:id :key})
(set/rename-keys {:key :id})
(update :elements
update-vals
#(-> %
(set/rename-keys {:id :key})
(set/rename-keys {:key :id})
(map/remove-nils)))))]

[[0 4] (fn [document]
Expand Down

0 comments on commit c34481d

Please sign in to comment.