1
0
Fork 0
mirror of https://github.com/paricafe/misskey.git synced 2025-02-19 09:57:30 -06:00
paricafe/tools/migration/shell.1509507382.reply_to-to-reply.js

5 lines
80 B
JavaScript

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