mirror of
https://github.com/penpot/penpot.git
synced 2025-05-30 14:16:13 +02:00
🐛 Fix incorrect features asignation after file migration
This commit is contained in:
parent
23bde76192
commit
8fa7fa8c4b
1 changed files with 2 additions and 2 deletions
|
@ -99,13 +99,13 @@
|
|||
(if (nil? migrations)
|
||||
(generate-migrations-from-version version)
|
||||
migrations)))
|
||||
(update :features (fnil into #{}) (deref cfeat/*new*))
|
||||
;; NOTE: in some future we can consider to apply
|
||||
;; a migration to the whole database and remove
|
||||
;; this code from this function that executes on
|
||||
;; each file migration operation
|
||||
(update :features cfeat/migrate-legacy-features)
|
||||
(migrate)))))
|
||||
(migrate)
|
||||
(update :features (fnil into #{}) (deref cfeat/*new*))))))
|
||||
|
||||
(defn migrated?
|
||||
[file]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue