1
0
mirror of https://github.com/misskey-dev/misskey synced 2024-11-29 23:38:55 +09:00
misskey/tools/migration/shell.1509507382.reply_to-to-reply.js

6 lines
80 B
JavaScript

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