Yuki Takei 5 lat temu
rodzic
commit
3b954bba35
1 zmienionych plików z 1 dodań i 0 usunięć
  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 mongoose.model('Attachment', attachmentSchema);
 };