summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAkihiko Odaki <nekomanma@pixiv.co.jp>2018-03-27 12:02:43 +0900
committerAkihiko Odaki <nekomanma@pixiv.co.jp>2018-03-27 12:02:43 +0900
commit396bb5821ec633b826bd6b172d433e38942242f0 (patch)
tree605ff4ffcf8c9736aae6d3e353b9893e9ab41e96 /tools
parentAdd keypair to local account (diff)
downloadsharkey-396bb5821ec633b826bd6b172d433e38942242f0.tar.gz
sharkey-396bb5821ec633b826bd6b172d433e38942242f0.tar.bz2
sharkey-396bb5821ec633b826bd6b172d433e38942242f0.zip
Add host field to User
Diffstat (limited to 'tools')
-rw-r--r--tools/migration/shell.1522116709.user-host.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/migration/shell.1522116709.user-host.js b/tools/migration/shell.1522116709.user-host.js
new file mode 100644
index 0000000000..b354709a61
--- /dev/null
+++ b/tools/migration/shell.1522116709.user-host.js
@@ -0,0 +1 @@
+db.users.update({ }, { $set: { host: null } }, { multi: true });