mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-19 12:02:35 -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)
|