itizawa hace 5 años
padre
commit
4bca54ab2e
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      src/server/models/attachment.js

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

@@ -28,6 +28,8 @@ module.exports = function(crowi) {
     fileFormat: { type: String, required: true },
     fileSize: { type: Number, default: 0 },
     createdAt: { type: Date, default: Date.now },
+    externalUrlCached: { type: String },
+    externalUrlExpiredAt: { type: Date },
   });
   attachmentSchema.plugin(uniqueValidator);
   attachmentSchema.plugin(mongoosePaginate);