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