mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-18 03:23:42 -05:00
11 lines
281 B
CoffeeScript
11 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)
|