mirror of
https://github.com/penpot/penpot.git
synced 2025-07-22 13:37:16 +02:00
🐛 Fix no migration are applied on accessing to a file
This commit is contained in:
parent
6b042be65c
commit
78260fbc42
1 changed files with 4 additions and 2 deletions
|
@ -250,11 +250,13 @@
|
||||||
file)))
|
file)))
|
||||||
|
|
||||||
(defn get-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?
|
include-deleted?
|
||||||
lock-for-update?]
|
lock-for-update?]
|
||||||
:or {include-deleted? false
|
:or {include-deleted? false
|
||||||
lock-for-update? false}}]
|
lock-for-update? false
|
||||||
|
migrate? true}}]
|
||||||
(dm/assert!
|
(dm/assert!
|
||||||
"expected cfg with valid connection"
|
"expected cfg with valid connection"
|
||||||
(db/connection-map? cfg))
|
(db/connection-map? cfg))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue