1
0
Fork 1
mirror of https://example.com synced 2024-11-24 00:46:38 +09:00
firefish/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);