codecombat/server/mail/sent/MailSent.coffee
2014-07-09 16:24:14 -07:00

11 lines
300 B
CoffeeScript

mongoose = require 'mongoose'
plugins = require '../../plugins/plugins'
jsonschema = require '../../../app/schemas/models/mail_sent'
MailSent = new mongoose.Schema({
sent:
type: Date
'default': Date.now
}, {strict: false})
module.exports = MailSent = mongoose.model('mailSent', MailSent)