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.

24 lines
342 B

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