mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-29 10:35:51 -05:00
10 lines
300 B
CoffeeScript
10 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)
|