delete variant
This commit is contained in:
@@ -60,6 +60,7 @@ const productVariantSchema = new Schema<IProductVariant>(
|
||||
dimensions: { type: productDimensionsSchema, required: true },
|
||||
sellerSpecialCode: { type: String },
|
||||
themeValue: { type: Schema.Types.ObjectId, ref: "ThemeValue", required: true },
|
||||
deleted: { type: Boolean, default: false },
|
||||
},
|
||||
{ timestamps: true, toObject: { virtuals: true, versionKey: false }, toJSON: { virtuals: true, versionKey: false }, id: false },
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user