iceshrimp-legacy/tools/migration
2018-03-28 16:59:11 +09:00
..
node.2017-11-08.js Fix 2017-11-09 00:17:24 +09:00
node.2017-12-11.js ✌️ 2017-12-11 13:52:06 +09:00
node.2017-12-22.hiseikika.js wip 2017-12-22 05:41:21 +09:00
node.2018-03-13.othello.js oops 2018-03-13 02:03:12 +09:00
node.2018-03-28.appname.js #1294 2018-03-28 13:05:36 +09:00
node.2018-03-28.username.js #1294 2018-03-28 13:05:36 +09:00
node.1509958623.use-gridfs.js rename with execution order, add desc & initial creation script 2017-11-08 00:09:05 +09:00
node.1510016282.change-gridfs-metadata-name-to-filename.js Fix bug 2017-12-11 13:34:36 +09:00
node.1510056272.issue_882.js Fix bug 2017-12-11 13:34:36 +09:00
node.1522066477.user-account-keypair.js Fix bug 2018-03-27 12:33:51 +09:00
README.md rename with execution order, add desc & initial creation script 2017-11-08 00:09:05 +09:00
shell.1487734995.user-profile.js rename with execution order, add desc & initial creation script 2017-11-08 00:09:05 +09:00
shell.1489951459.like-to-reactions.js rename with execution order, add desc & initial creation script 2017-11-08 00:09:05 +09:00
shell.1509507382.reply_to-to-reply.js rename with execution order, add desc & initial creation script 2017-11-08 00:09:05 +09:00
shell.1522038492.user-account.js Introduce account document to user document 2018-03-26 14:07:16 +09:00
shell.1522116709.user-host.js Add host field to User 2018-03-27 12:02:43 +09:00
shell.1522116710.user-host_lower.js Add host_lower to User 2018-03-27 15:57:42 +09:00
shell.camel-case.js wip 2018-03-28 16:59:11 +09:00

Misskeyの破壊的変更に対応するいくつかのスニペットがあります。 MongoDBシェルで実行する必要のあるものとnodeで直接実行する必要のあるものがあります。 ファイル名が shell. から始まるものは前者、 node. から始まるものは後者です。

MongoDBシェルで実行する場合、useでデータベースを選択しておく必要があります。

nodeで実行するいくつかのスニペットは、並列処理させる数を引数で設定できるものがあります。 処理中にエラーで落ちる場合は、メモリが足りていない可能性があるので、少ない数に設定してみてください。 ※デフォルトは5です。

ファイルを作成する際は ../init-migration-file.sh -t _type_ -n _name_ を実行すると type.unixtime.name.js が生成されます