diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-11-01 12:36:22 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-11-01 12:36:22 +0900 |
| commit | 1c73b08e95064e7fd2c1c4b1d584ad9c09d34331 (patch) | |
| tree | ac6151c038960419fd0887a506e8ca2bf435cf73 /tools | |
| parent | v2783 (diff) | |
| download | sharkey-1c73b08e95064e7fd2c1c4b1d584ad9c09d34331.tar.gz sharkey-1c73b08e95064e7fd2c1c4b1d584ad9c09d34331.tar.bz2 sharkey-1c73b08e95064e7fd2c1c4b1d584ad9c09d34331.zip | |
:v:
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/migration/reply_to-to-reply.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/migration/reply_to-to-reply.js b/tools/migration/reply_to-to-reply.js new file mode 100644 index 0000000000..ceb272ebc9 --- /dev/null +++ b/tools/migration/reply_to-to-reply.js @@ -0,0 +1,5 @@ +db.posts.update({}, { + $rename: { + reply_to_id: 'reply_id' + } +}, false, true); |