mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-30 19:35:11 -05: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
|