misskey/tools/migration/shell.1522116709.user-host.js
2018-03-27 12:02:43 +09:00

2 lines
65 B
JavaScript

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