wip
This commit is contained in:
parent
69cef75b53
commit
02be56cfc0
3 changed files with 32 additions and 5 deletions
|
|
@ -130,3 +130,20 @@ db.othelloGames.update({}, {
|
|||
}
|
||||
}, false, true);
|
||||
|
||||
db.othello_matchings.renameCollection('othelloMatchings');
|
||||
db.othelloMatchings.update({}, {
|
||||
$rename: {
|
||||
created_at: 'createdAt',
|
||||
parent_id: 'parentId',
|
||||
child_id: 'childId'
|
||||
}
|
||||
}, false, true);
|
||||
|
||||
db.poll_votes.renameCollection('pollVotes');
|
||||
db.pollVotes.update({}, {
|
||||
$rename: {
|
||||
created_at: 'createdAt',
|
||||
user_id: 'userId',
|
||||
post_id: 'postId'
|
||||
}
|
||||
}, false, true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue