mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-24 16:17:57 -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) |