codecombat/server/users/remarks/UserRemark.coffee

12 lines
342 B
CoffeeScript
Raw Normal View History

2014-06-30 22:16:26 -04:00
mongoose = require 'mongoose'
plugins = require '../../plugins/plugins'
jsonschema = require '../../../app/schemas/models/user_remark'
2014-06-17 16:03:08 -04:00
UserRemarkSchema = new mongoose.Schema({
created:
type: Date
'default': Date.now
}, {strict:false, minimize: false})
2014-06-17 16:03:08 -04:00
module.exports = UserRemark = mongoose.model('user.remark', UserRemarkSchema)