mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-25 17:21:13 +00:00
14 lines
355 B
CoffeeScript
14 lines
355 B
CoffeeScript
|
mongoose = require 'mongoose'
|
||
|
Settings = require 'settings-sharelatex'
|
||
|
|
||
|
Schema = mongoose.Schema
|
||
|
ObjectId = Schema.ObjectId
|
||
|
|
||
|
QuoteSchema = new Schema
|
||
|
author : {type:String, default:'new quote'}
|
||
|
quote : {type:String}
|
||
|
|
||
|
mongoose.model 'Quote', QuoteSchema
|
||
|
exports.Quote = mongoose.model 'Quote'
|
||
|
exports.QuoteSchema = QuoteSchema
|