@b2y/ecommerce-common 1.3.1 → 1.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -177,6 +177,11 @@ const initializeModels = (sequelize) => {
177
177
  as: "AttributeValue",
178
178
  });
179
179
 
180
+ ProductVariant.belongsTo(PackagingBox, {
181
+ foreignKey: "PackagingBoxID",
182
+ as: "PackagingBox"
183
+ });
184
+
180
185
  // Product and ProductGroup Association
181
186
  // Many-to-One
182
187
  Product.belongsTo(ProductGroup, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@b2y/ecommerce-common",
3
- "version": "1.3.1",
3
+ "version": "1.3.3",
4
4
  "description": "E-commerce common library",
5
5
  "main": "index.js",
6
6
  "scripts": {