Merge branch 'develop' into fea/dat-20042026-CMS-Partnerships-Accreditation-History-Admissions-Policies

This commit is contained in:
Tống Thành Đạt
2026-04-23 13:44:46 +07:00
+1 -2
View File
@@ -5,7 +5,6 @@ const migrationSchema = new mongoose.Schema({
type: String,
required: true,
unique: true,
index: true
},
batch: {
type: Number,
@@ -21,7 +20,7 @@ const migrationSchema = new mongoose.Schema({
});
// Index để tìm kiếm nhanh
migrationSchema.index({ name: 1 });
// migrationSchema.index({ name: 1 });
migrationSchema.index({ batch: -1 });
module.exports = mongoose.model('Migration', migrationSchema);