0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-11 01:28:30 -05:00

🐛 Increase version numbers for ensure execute migrations again

This commit is contained in:
Andrey Antukh 2023-07-14 14:40:22 +02:00 committed by Alonso Torres
parent e9914d5265
commit e78edca5a8
2 changed files with 5 additions and 5 deletions

View file

@ -6,4 +6,4 @@
(ns app.common.files.defaults) (ns app.common.files.defaults)
(def version 24) (def version 28)

View file

@ -437,7 +437,7 @@
(update :pages-index update-vals update-container) (update :pages-index update-vals update-container)
(update :components update-vals update-container)))) (update :components update-vals update-container))))
(defmethod migrate 21 (defmethod migrate 25
[data] [data]
(letfn [(update-object [object] (letfn [(update-object [object]
(-> object (-> object
@ -449,7 +449,7 @@
(update :pages-index update-vals update-container) (update :pages-index update-vals update-container)
(update :components update-vals update-container)))) (update :components update-vals update-container))))
(defmethod migrate 22 (defmethod migrate 26
[data] [data]
(letfn [(update-object [object] (letfn [(update-object [object]
(cond-> object (cond-> object
@ -466,7 +466,7 @@
(update :pages-index update-vals update-container) (update :pages-index update-vals update-container)
(update :components update-vals update-container)))) (update :components update-vals update-container))))
(defmethod migrate 23 (defmethod migrate 27
[data] [data]
(letfn [(update-object [object] (letfn [(update-object [object]
(cond-> object (cond-> object
@ -493,7 +493,7 @@
(update :pages-index update-vals update-container) (update :pages-index update-vals update-container)
(update :components update-vals update-container)))) (update :components update-vals update-container))))
(defmethod migrate 24 (defmethod migrate 28
[data] [data]
(letfn [(update-object [objects object] (letfn [(update-object [objects object]
(let [frame-id (:frame-id object) (let [frame-id (:frame-id object)