codecombat/server/user_code_problems/UserCodeProblem.coffee

10 lines
297 B
CoffeeScript

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