codecombat/server/user_code_problems/UserCodeProblem.coffee

11 lines
297 B
CoffeeScript
Raw Normal View History

2014-08-14 14:55:43 -04:00
mongoose = require 'mongoose'
plugins = require '../plugins/plugins'
UserCodeProblemSchema = new mongoose.Schema({
created:
type: Date
'default': Date.now
}, {strict:false, minimize: false})
2014-08-14 14:55:43 -04:00
module.exports = UserCodeProblem = mongoose.model('user.code.problem', UserCodeProblemSchema)