diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-03-28 16:59:11 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-03-28 16:59:11 +0900 |
| commit | 71065077f66662381a6d5f08ad8b345ceaf742db (patch) | |
| tree | b24eaf45f8738f1765f9baa53c42c8a8ca9d94c6 /tools | |
| parent | wip (diff) | |
| download | sharkey-71065077f66662381a6d5f08ad8b345ceaf742db.tar.gz sharkey-71065077f66662381a6d5f08ad8b345ceaf742db.tar.bz2 sharkey-71065077f66662381a6d5f08ad8b345ceaf742db.zip | |
wip
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/migration/shell.camel-case.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/migration/shell.camel-case.js b/tools/migration/shell.camel-case.js index afe831e5b7..8d07140ba5 100644 --- a/tools/migration/shell.camel-case.js +++ b/tools/migration/shell.camel-case.js @@ -176,6 +176,9 @@ db.posts.update({}, { reply_id: 'replyId', repost_id: 'repostId', via_mobile: 'viaMobile', + reaction_counts: 'reactionCounts', + replies_count: 'repliesCount', + repost_count: 'repostCount', '_reply.user_id': '_reply.userId', '_repost.user_id': '_repost.userId', } |