hotfix realm migration

Signed-off-by: yenda <eric@status.im>
This commit is contained in:
yenda 2018-10-15 21:22:40 +02:00
parent 1c99df5343
commit 647db6d698
No known key found for this signature in database
GPG Key ID: 0095623C0069DCE6
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@
"reset last request to 1 to fetch 7 past days of history" "reset last request to 1 to fetch 7 past days of history"
[old-realm new-realm] [old-realm new-realm]
(log/debug "migrating v18 account database") (log/debug "migrating v18 account database")
(some-> old-realm (some-> new-realm
(.objects "transport-inbox-topic") (.objects "transport-inbox-topic")
(.map (fn [inbox-topic _ _] (.map (fn [inbox-topic _ _]
(aset inbox-topic "last-request" 1))))) (aset inbox-topic "last-request" 1)))))