feat: Rename file

This commit is contained in:
Wini_Fy
2026-03-19 09:36:14 +07:00
parent 6002e04c2e
commit 63d6bd7c8f
2 changed files with 2 additions and 2 deletions

View File

@@ -43,6 +43,6 @@ const HeaderMenuSchema = new mongoose.Schema({
// Indexes for optimization
HeaderMenuSchema.index({ order: 1 });
HeaderMenuSchema.index({ status: 1 });
HeaderMenuSchema.index({ parentId: 1, order: 1 }); // Useful for fetching children in order
HeaderMenuSchema.index({ parentId: 1, order: 1 });
module.exports = mongoose.model('HeaderMenu', HeaderMenuSchema);