mongoose-auto-increment
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -18,3 +18,3 @@ var mongoose = require('mongoose'); | ||
counterSchema.index({ field: 1, model: 1 }, { unique: true, required: true, index: -1 }); | ||
var Counter = mongoose.connection.model('Counter', counterSchema); | ||
var Counter = mongoose.connection.model('MAIC-Counter', counterSchema); | ||
@@ -21,0 +21,0 @@ module.exports = exports = function (schema, options) { |
{ | ||
"name": "mongoose-auto-increment", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "This plugin allows you to auto-increment any field on any mongoose schema that you wish.", | ||
@@ -5,0 +5,0 @@ "repository": { |
4438