@giftwizard/db-models
Advanced tools
Comparing version 16.4.0 to 16.5.0
@@ -218,2 +218,5 @@ const _ = require('lodash'); | ||
models.BulkCampaignCompleteTasks.hasOne(GiftCard, { foreignKey: 'gift_card_id', sourceKey: 'gift_card_id' }); | ||
GiftCard.belongsTo(models.Order, { foreignKey: 'gift_card_id', targetKey: 'gift_card_id' }); | ||
models.Order.hasMany(GiftCard, { foreignKey: 'gift_card_id', targetKey: 'gift_card_id' }); | ||
}; | ||
@@ -220,0 +223,0 @@ |
{ | ||
"name": "@giftwizard/db-models", | ||
"version": "16.4.0", | ||
"version": "16.5.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
90727
3393