diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-03-28 16:07:48 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-03-28 16:07:48 +0900 |
| commit | b6c190e1fd915178100357009707aaa39a7bc687 (patch) | |
| tree | 3d2d784547f06213a64aca1c9866eff1500cd658 /tools | |
| parent | wip (diff) | |
| download | sharkey-b6c190e1fd915178100357009707aaa39a7bc687.tar.gz sharkey-b6c190e1fd915178100357009707aaa39a7bc687.tar.bz2 sharkey-b6c190e1fd915178100357009707aaa39a7bc687.zip | |
wip
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/migration/shell.camel-case.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/migration/shell.camel-case.js b/tools/migration/shell.camel-case.js index 326d0a1b0f..a7e8afcdce 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); |