rename with execution order, add desc & initial creation script
This commit is contained in:
parent
12d815dc42
commit
04dd2cb12b
8 changed files with 40 additions and 0 deletions
5
tools/migration/shell.1509507382.reply_to-to-reply.js
Normal file
5
tools/migration/shell.1509507382.reply_to-to-reply.js
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
db.posts.update({}, {
|
||||
$rename: {
|
||||
reply_to_id: 'reply_id'
|
||||
}
|
||||
}, false, true);
|
||||
Loading…
Add table
Add a link
Reference in a new issue