codecombat/server/levels/feedbacks/LevelFeedback.coffee
2014-04-12 10:51:02 -07:00

13 lines
No EOL
457 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/plugins')
jsonschema = require('../../../app/schemas/models/level_feedback')
LevelFeedbackSchema = new mongoose.Schema({
created:
type: Date
'default': Date.now
}, {strict: false})
module.exports = LevelFeedback = mongoose.model('level.feedback', LevelFeedbackSchema)