wikijs-fork/models/upl-folder.js
2016-11-20 20:09:50 -05:00

25 lines
342 B
JavaScript

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