25 lines
342 B
JavaScript
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); |