add carts as mongo collection

This commit is contained in:
Yaman 2015-01-11 19:07:29 -05:00
parent 0d91daa858
commit c8db2ba0bb
2 changed files with 2 additions and 0 deletions

View File

@ -45,6 +45,7 @@ Template.chromebook.events({
Chromebooks.update(this._id, {$set: {status: 0}});
Chromebooks.update(this._id, {$set: {last_checkout: null}});
Chromebooks.update(this._id, {$set: {userid: null}});
Chromebooks.update(this._id, {$set: {user: null}});
}
}
});

View File

@ -0,0 +1 @@
carts = new Mongo.Collection("carts");