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 });