diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-03-28 13:20:19 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-03-28 13:20:19 +0900 |
| commit | ac12e63a853359b819dfd5df3ef9604a51e27cd4 (patch) | |
| tree | 4cd48e5fd12f52cf01e29dd4c67f26fbae79f115 /tools | |
| parent | wip (diff) | |
| download | sharkey-ac12e63a853359b819dfd5df3ef9604a51e27cd4.tar.gz sharkey-ac12e63a853359b819dfd5df3ef9604a51e27cd4.tar.bz2 sharkey-ac12e63a853359b819dfd5df3ef9604a51e27cd4.zip | |
wip
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/migration/shell.camel-case.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/migration/shell.camel-case.js b/tools/migration/shell.camel-case.js index ac0476af0c..9f07bd946d 100644 --- a/tools/migration/shell.camel-case.js +++ b/tools/migration/shell.camel-case.js @@ -101,3 +101,12 @@ db.messagingMessages.update({}, { } }, false, true); +db.mute.update({}, { + $rename: { + created_at: 'createdAt', + deleted_at: 'deletedAt', + mutee_id: 'muteeId', + muter_id: 'muterId', + } +}, false, true); + |