📆 Timestamps for Comic model

This commit is contained in:
2021-08-07 01:14:24 -07:00
parent 9a311d707f
commit a85c31f2f9

View File

@@ -57,7 +57,7 @@ const ComicSchema = mongoose.Schema({
sourceApplication: String,
},
},
});
}, { timestamps: true});
ComicSchema.plugin(paginate);
const Comic = mongoose.model("Comic", ComicSchema);