mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-30 16:05:10 -05:00
13 lines
355 B
CoffeeScript
13 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
|