@giftwizard/db-models
Advanced tools
Comparing version 16.2.0 to 16.3.0
@@ -15,2 +15,5 @@ module.exports = (sequelizeConnection, DataTypes) => { | ||
}, | ||
customer_id: { | ||
type: DataTypes.STRING, | ||
}, | ||
shop_url: { | ||
@@ -51,2 +54,3 @@ type: DataTypes.STRING, | ||
models.Gift.belongsTo(Order, { foreignKey: 'order_id', targetKey: 'order_id' }); | ||
Order.hasOne(models.Customer, { foreignKey: 'platform_customer_id', sourceKey: 'customer_id' }); | ||
}; | ||
@@ -53,0 +57,0 @@ |
{ | ||
"name": "@giftwizard/db-models", | ||
"version": "16.2.0", | ||
"version": "16.3.0", | ||
"description": "Rise.ai package for 'sequelize' models used by several projects.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
90890
3403