Skip to content

Commit

Permalink
"stats" is a reserved collection, use "coinstats" instead
Browse files Browse the repository at this point in the history
  • Loading branch information
UdjinM6 committed Apr 1, 2016
1 parent 404e42e commit 5d21010
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/stats.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ var StatsSchema = new Schema({
last_price: { type: Number, default: 0 },
});

module.exports = mongoose.model('Stats', StatsSchema);
module.exports = mongoose.model('coinstats', StatsSchema);

0 comments on commit 5d21010

Please sign in to comment.