xxxxxxxxxx
var UserSchema = new mongoose.Schema({
nickname: String,
reg_time: {type: Date, default: Date.now}
}, {
versionKey: false // You should be aware of the outcome after set to false
});
xxxxxxxxxx
The `versionKey` is a property set on each document when
first created by Mongoose.
This keys value contains the internal revision of the document.
The name of this document property is configurable.
The default is __v.
If this conflicts with your application you can configure as such:
xxxxxxxxxx
new Schema({..}, { versionKey: '_somethingElse' })