mirror of
https://github.com/penpot/penpot.git
synced 2025-01-23 15:09:10 -05:00
🐛 Don't update modified_at field on applying components migration
This commit is contained in:
parent
cacaf2bf95
commit
840801ea15
1 changed files with 0 additions and 3 deletions
|
@ -273,16 +273,13 @@
|
||||||
(binding [pmap/*tracked* (atom {})]
|
(binding [pmap/*tracked* (atom {})]
|
||||||
(let [data (ctf/migrate-to-components-v2 data)
|
(let [data (ctf/migrate-to-components-v2 data)
|
||||||
features (conj features "components/v2")
|
features (conj features "components/v2")
|
||||||
modified-at (dt/now)
|
|
||||||
features' (db/create-array conn "text" features)]
|
features' (db/create-array conn "text" features)]
|
||||||
(db/update! conn :file
|
(db/update! conn :file
|
||||||
{:data (blob/encode data)
|
{:data (blob/encode data)
|
||||||
:modified-at modified-at
|
|
||||||
:features features'}
|
:features features'}
|
||||||
{:id id})
|
{:id id})
|
||||||
(persist-pointers! conn id)
|
(persist-pointers! conn id)
|
||||||
(-> file
|
(-> file
|
||||||
(assoc :modified-at modified-at)
|
|
||||||
(assoc :features features)
|
(assoc :features features)
|
||||||
(assoc :data data))))
|
(assoc :data data))))
|
||||||
file)]
|
file)]
|
||||||
|
|
Loading…
Add table
Reference in a new issue