diff --git a/models/postModel.js b/models/postModel.js index 1869632..050c25f 100644 --- a/models/postModel.js +++ b/models/postModel.js @@ -2,7 +2,7 @@ const mongoose = require("mongoose"); /* - Post Schema Definition + Posts Schema Definition */ @@ -25,6 +25,7 @@ const postSchema = mongoose.Schema( required: true, }, views: { type: Number }, + readtime: { type: String }, isDraft: { type: Boolean, default: false, index: true }, notifications: { type: Boolean, default: true }, },