chore(subscribers): some busted transaction migration code

This commit is contained in:
Tyler Renelle 2014-06-12 12:32:20 -06:00
parent 8d49a4d032
commit b5bf54a815

View file

@ -7,6 +7,21 @@ var update = {
}
};
/*var update = {
$set:{
'purchased.plan':{
customerId: "",
dateCreated: new Date(),
dateTerminated: null,
dateUpdated:new Date(),
gemsBought: 0,
mysteryItems: [],
paymentMethod: "Paypal",
planId : "basic_earned"
}
}
};*/
if (_id) {
// singular (missing items)
db.users.update({_id:_id}, update);