Merge branch 'master' into integration/dummy-project

This commit is contained in:
olivermrbl
2020-07-02 09:43:22 +02:00
20 changed files with 7662 additions and 109 deletions
@@ -13,6 +13,8 @@ class ProductVariantModel extends BaseModel {
static schema = {
title: { type: String, required: true },
prices: { type: [MoneyAmountSchema], default: [], required: true },
sku: { type: String, default: "" },
barcode: { type: String, default: "" },
options: { type: [OptionValueSchema], default: [] },
sku: { type: String, unique: true, sparse: true },
ean: { type: String, unique: true, sparse: true },