codecombat/server/models/LevelFeedback.coffee
2014-01-03 10:32:13 -08:00

13 lines
No EOL
428 B
CoffeeScript

# TODO: not updated since rename from level_instance, or since we redid how all models are done; probably busted
mongoose = require('mongoose')
plugins = require('./plugins')
jsonschema = require('../schemas/level_feedback')
LevelFeedbackSchema = new mongoose.Schema({
created:
type: Date
'default': Date.now
}, {strict: false})
module.exports = LevelFeedback = mongoose.model('level.feedback', LevelFeedbackSchema)