mirror of
https://github.com/penpot/penpot.git
synced 2026-05-06 08:38:40 +00:00
🐛 Fix no migration are applied on accessing to a file
This commit is contained in:
parent
6b042be65c
commit
78260fbc42
@ -250,11 +250,13 @@
|
||||
file)))
|
||||
|
||||
(defn get-file
|
||||
[{:keys [::db/conn] :as cfg} id & {:keys [project-id migrate?
|
||||
[{:keys [::db/conn] :as cfg} id & {:keys [project-id
|
||||
migrate?
|
||||
include-deleted?
|
||||
lock-for-update?]
|
||||
:or {include-deleted? false
|
||||
lock-for-update? false}}]
|
||||
lock-for-update? false
|
||||
migrate? true}}]
|
||||
(dm/assert!
|
||||
"expected cfg with valid connection"
|
||||
(db/connection-map? cfg))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user