A product now has color attribute on model.

This commit is contained in:
2020-07-26 21:22:14 +02:00
parent d1a52f5ad9
commit ca1fb7b92e
2 changed files with 2 additions and 0 deletions

View File

@@ -6,6 +6,7 @@ const Product = new Schema({
image: String,
description: String,
urlSlug: String,
color: String,
variations: [{
type: Schema.Types.ObjectId,
ref: "Variation"