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