mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-11 16:21:08 -05:00
9 lines
245 B
CoffeeScript
9 lines
245 B
CoffeeScript
|
mongoose = require('mongoose')
|
||
|
Level = require('./Level')
|
||
|
|
||
|
LevelDraftSchema = new mongoose.Schema(
|
||
|
user: {type: mongoose.Schema.ObjectId, ref: 'User'}
|
||
|
level: {}
|
||
|
)
|
||
|
|
||
|
module.exports = LevelDraft = mongoose.model('level.draft', LevelDraftSchema)
|