codecombat/server/user_code_problems/UserCodeProblem.coffee
2014-08-14 13:32:00 -07:00

10 lines
281 B
CoffeeScript

mongoose = require 'mongoose'
plugins = require '../plugins/plugins'
UserCodeProblemSchema = new mongoose.Schema({
created:
type: Date
'default': Date.now
}, {strict: false})
module.exports = UserCodeProblem = mongoose.model('user.code.problem', UserCodeProblemSchema)