From 0597e1311955b58979e4005e32c879791bebfcc4 Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 28 Mar 2018 16:07:48 +0900 Subject: [PATCH] wip --- tools/migration/shell.camel-case.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/migration/shell.camel-case.js b/tools/migration/shell.camel-case.js index 326d0a1b0..a7e8afcdc 100644 --- a/tools/migration/shell.camel-case.js +++ b/tools/migration/shell.camel-case.js @@ -175,6 +175,8 @@ db.posts.update({}, { media_ids: 'mediaIds', reply_id: 'replyId', repost_id: 'repostId', - via_mobile: 'viaMobile' + via_mobile: 'viaMobile', + '_reply.user_id': '_reply.userId', + '_repost.user_id': '_repost.userId', } }, false, true);