var mongoose = require('mongoose');

var Schema = mongoose.Schema, 
    ObjectId = Schema.ObjectId;

var Question = new Schema({
    id : {type : Number, require : true, trim : true, unique : true},
    title : {type : String, required : true, trim : true},
    body : String,
    tags : Array 

});

module.exports = mongoose.model('Question', Question);

@@ -126,78 +126,8 @@
 a(%7B%0A
-    id : %7Btype : Number, require : true, trim : true, unique : true%7D,%0A
     

Fix to schema to remove id. Use mongodb's built in _id.