📝No extra index needed for user.code.problems

We only query via _id currently, so the default index will do.
This commit is contained in:
Matt Lott 2015-01-27 10:46:37 -08:00
parent 3d32c8a5e7
commit b78a35f5f0

View file

@ -7,6 +7,4 @@ UserCodeProblemSchema = new mongoose.Schema({
'default': Date.now
}, {strict: false})
# TODO: add index
module.exports = UserCodeProblem = mongoose.model('user.code.problem', UserCodeProblemSchema)