forked from UKSOURCE/cms.hailearning.edu.vn
refactor: enhance admin dashboard and layout with blog management links
This commit is contained in:
@@ -179,9 +179,10 @@ const DetailedViewSchema = new mongoose.Schema(
|
||||
// Main VisaCountry Schema (Individual country object)
|
||||
const VisaCountrySchema = new mongoose.Schema(
|
||||
{
|
||||
id: { type: Number, required: true, index: true },
|
||||
name: { type: String, required: true, index: true },
|
||||
slug: { type: String, required: true, unique: true, index: true },
|
||||
// Không dùng `index: true` ở đây vì đã tạo index riêng cho hero.summaryList.* bên dưới
|
||||
id: { type: Number, required: true },
|
||||
name: { type: String, required: true },
|
||||
slug: { type: String, required: true, unique: true },
|
||||
icon: { type: String, default: "" },
|
||||
services: {
|
||||
type: [String],
|
||||
|
||||
Reference in New Issue
Block a user