mirror of https://github.com/requarks/wiki
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
365 B
26 lines
365 B
8 years ago
|
"use strict";
|
||
|
|
||
|
const modb = require('mongoose'),
|
||
|
Promise = require('bluebird'),
|
||
|
_ = require('lodash');
|
||
|
|
||
|
/**
|
||
|
* Upload Folder schema
|
||
|
*
|
||
|
* @type {<Mongoose.Schema>}
|
||
|
*/
|
||
|
var uplFolderSchema = modb.Schema({
|
||
|
|
||
8 years ago
|
_id: String,
|
||
|
|
||
8 years ago
|
name: {
|
||
8 years ago
|
type: String,
|
||
|
index: true
|
||
8 years ago
|
}
|
||
|
|
||
|
},
|
||
|
{
|
||
|
timestamps: {}
|
||
|
});
|
||
|
|
||
|
module.exports = modb.model('UplFolder', uplFolderSchema);
|