yumechi-no-kuni/tools/migration/reply_to-to-reply.js

6 lines
80 B
JavaScript
Raw Normal View History

2017-10-31 22:36:22 -05:00
db.posts.update({}, {
$rename: {
reply_to_id: 'reply_id'
}
}, false, true);