Yuki Takei 5 years ago
parent
commit
3b954bba35
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/server/models/attachment.js

+ 1 - 0
src/server/models/attachment.js

@@ -63,4 +63,5 @@ module.exports = function(crowi) {
     return attachment;
     return attachment;
   };
   };
 
 
+  return mongoose.model('Attachment', attachmentSchema);
 };
 };