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.
20 lines
276 B
20 lines
276 B
8 years ago
|
'use strict'
|
||
8 years ago
|
|
||
|
/**
|
||
|
* Upload Folder schema
|
||
|
*
|
||
|
* @type {<Mongoose.Schema>}
|
||
|
*/
|
||
8 years ago
|
var uplFolderSchema = Mongoose.Schema({
|
||
8 years ago
|
|
||
8 years ago
|
_id: String,
|
||
8 years ago
|
|
||
8 years ago
|
name: {
|
||
8 years ago
|
type: String,
|
||
|
index: true
|
||
8 years ago
|
}
|
||
|
|
||
8 years ago
|
}, { timestamps: {} })
|
||
8 years ago
|
|
||
8 years ago
|
module.exports = Mongoose.model('UplFolder', uplFolderSchema)
|