1
0
mirror of https://github.com/hotomoe/hotomoe synced 2024-12-05 10:18:09 +09:00
hotomoe/tools/migration/shell.1509507382.reply_to-to-reply.js

6 lines
80 B
JavaScript
Raw Normal View History

2017-11-01 12:36:22 +09:00
db.posts.update({}, {
$rename: {
reply_to_id: 'reply_id'
}
}, false, true);