wikijs-fork/server/models/upl-folder.js
2017-04-28 17:58:38 -04: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)