mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-24 16:17:57 -05:00
12 lines
300 B
CoffeeScript
12 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)
|