calckey/tools/migration/shell.1509507382.reply_to-t...

6 lines
80 B
JavaScript

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