mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-30 13:54:58 -05:00
01ee104f77
This reverts commit 7b05891ba0e87e4cf00fd6b1ea87d7406dc70989.
13 lines
301 B
CoffeeScript
13 lines
301 B
CoffeeScript
mongoose = require 'mongoose'
|
|
Settings = require 'settings-sharelatex'
|
|
|
|
Schema = mongoose.Schema
|
|
ObjectId = Schema.ObjectId
|
|
|
|
DocSchema = new Schema
|
|
name : {type:String, default:'new doc'}
|
|
|
|
|
|
mongoose.model 'Doc', DocSchema
|
|
exports.Doc = mongoose.model 'Doc'
|
|
exports.DocSchema = DocSchema
|