codecombat/server/users/remarks/UserRemark.coffee
2014-07-01 12:23:22 +08:00

11 lines
326 B
CoffeeScript

mongoose = require 'mongoose'
plugins = require '../../plugins/plugins'
jsonschema = require '../../../app/schemas/models/user_remark'
UserRemarkSchema = new mongoose.Schema({
created:
type: Date
'default': Date.now
}, {strict: false})
module.exports = UserRemark = mongoose.model('user.remark', UserRemarkSchema)