misskey/tools/migration/shell.1522116709.user-host.js

2 lines
65 B
JavaScript

db.users.update({ }, { $set: { host: null } }, { multi: true });