mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-30 19:06:59 -05:00
9 lines
No EOL
245 B
CoffeeScript
9 lines
No EOL
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) |