mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-18 11:32:25 -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)
|