mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-28 10:06:08 -05:00
9 lines
316 B
CoffeeScript
9 lines
316 B
CoffeeScript
mongoose = require 'mongoose'
|
|
plugins = require '../plugins/plugins'
|
|
|
|
CampaignSchema = new mongoose.Schema(body: String, {strict:false, minimize: false})
|
|
|
|
CampaignSchema.plugin(plugins.NamedPlugin)
|
|
CampaignSchema.plugin(plugins.TranslationCoveragePlugin)
|
|
|
|
module.exports = mongoose.model('campaign', CampaignSchema)
|