1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-12-14 06:38:24 +09:00
MisskeyIO/tools/migration/reply_to-to-reply.js
syuilo 1c73b08e95 ✌️
2017-11-01 12:36:22 +09:00

6 lines
80 B
JavaScript

db.posts.update({}, {
$rename: {
reply_to_id: 'reply_id'
}
}, false, true);