wip
This commit is contained in:
parent
02be56cfc0
commit
65069d5fdb
3 changed files with 24 additions and 4 deletions
|
|
@ -147,3 +147,12 @@ db.pollVotes.update({}, {
|
|||
post_id: 'postId'
|
||||
}
|
||||
}, false, true);
|
||||
|
||||
db.post_reactions.renameCollection('postReactions');
|
||||
db.postReactions.update({}, {
|
||||
$rename: {
|
||||
created_at: 'createdAt',
|
||||
user_id: 'userId',
|
||||
post_id: 'postId'
|
||||
}
|
||||
}, false, true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue