From 0d16857eaf8657733bdf69d1d3e2e27f9b2476bc Mon Sep 17 00:00:00 2001
From: Megan Henning <meganhenning@flywheel.io>
Date: Mon, 3 Apr 2017 17:00:36 -0500
Subject: [PATCH] Update all docs

---
 bin/database.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/bin/database.py b/bin/database.py
index 124d9ee2..a42302f6 100755
--- a/bin/database.py
+++ b/bin/database.py
@@ -873,6 +873,8 @@ def upgrade_to_25():
         }
         config.db.refreshtokens.insert(refresh_doc)
 
+    config.db.authtokens.update_many({'refresh_token': {'$exists': True}}, {'$unset': {'refresh_token': ''}})
+
 
 
 def upgrade_schema():
-- 
GitLab