mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-19 12:02:35 -05:00
13 lines
428 B
CoffeeScript
13 lines
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)
|