mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-30 20:02:35 +00: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
|