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.

25 lines
365 B

  1. "use strict";
  2. const modb = require('mongoose'),
  3. Promise = require('bluebird'),
  4. _ = require('lodash');
  5. /**
  6. * Upload Folder schema
  7. *
  8. * @type {<Mongoose.Schema>}
  9. */
  10. var uplFolderSchema = modb.Schema({
  11. _id: String,
  12. name: {
  13. type: String,
  14. index: true
  15. }
  16. },
  17. {
  18. timestamps: {}
  19. });
  20. module.exports = modb.model('UplFolder', uplFolderSchema);