wikijs-fork/models/upl-folder.js
2017-02-08 20:52:37 -05:00

20 lines
276 B
JavaScript

'use strict'
/**
* Upload Folder schema
*
* @type {<Mongoose.Schema>}
*/
var uplFolderSchema = Mongoose.Schema({
_id: String,
name: {
type: String,
index: true
}
}, { timestamps: {} })
module.exports = Mongoose.model('UplFolder', uplFolderSchema)