2
0
itizawa 5 жил өмнө
parent
commit
4bca54ab2e

+ 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);