iceshrimp/tools/migration/reply_to-to-reply.js
syuilo fbcd84c304 ✌️
2017-11-01 12:36:22 +09:00

5 lines
80 B
JavaScript

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