From 647db6d698112775350ad02ce0f80b934349ea83 Mon Sep 17 00:00:00 2001 From: yenda Date: Mon, 15 Oct 2018 21:22:40 +0200 Subject: [PATCH] hotfix realm migration Signed-off-by: yenda --- src/status_im/data_store/realm/schemas/account/migrations.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/status_im/data_store/realm/schemas/account/migrations.cljs b/src/status_im/data_store/realm/schemas/account/migrations.cljs index d9b4bcd3c6..176eaa58d2 100644 --- a/src/status_im/data_store/realm/schemas/account/migrations.cljs +++ b/src/status_im/data_store/realm/schemas/account/migrations.cljs @@ -108,7 +108,7 @@ "reset last request to 1 to fetch 7 past days of history" [old-realm new-realm] (log/debug "migrating v18 account database") - (some-> old-realm + (some-> new-realm (.objects "transport-inbox-topic") (.map (fn [inbox-topic _ _] (aset inbox-topic "last-request" 1)))))