refactor: enhance admin dashboard and layout with blog management links

This commit is contained in:
Wini_Fy
2026-02-04 16:03:28 +07:00
parent 3e1e6d0a87
commit 01d315afb8
7 changed files with 34 additions and 7 deletions

View File

@@ -91,7 +91,6 @@ const blogSchema = new mongoose.Schema({
});
// Indexes
blogSchema.index({ slug: 1 });
blogSchema.index({ status: 1, createdAt: -1 });
blogSchema.index({ category: 1, status: 1 });
blogSchema.index({ isFeatured: 1, status: 1 });