New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@giftwizard/db-models

Package Overview
Dependencies
Maintainers
7
Versions
115
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@giftwizard/db-models - npm Package Compare versions

Comparing version 6.0.0 to 7.0.0-dev.0

models/map-gift-to-cards.js

7

models/gift-card.js

@@ -28,6 +28,2 @@ const _ = require('lodash');

},
gift_id: {
type: DataTypes.INTEGER,
allowNull: true
},
shopify_gift_card_id: {

@@ -211,5 +207,2 @@ type: DataTypes.TEXT

models.Gift.hasMany(GiftCard, { foreignKey: 'gift_id', sourceKey: 'id' });
GiftCard.belongsTo(models.Gift, { foreignKey: 'gift_id', targetKey: 'id' });
GiftCard.hasMany(models.GiftCardsUsage, { foreignKey: 'gift_card_id', sourceKey: 'gift_card_id' });

@@ -216,0 +209,0 @@ models.GiftCardsUsage.belongsTo(GiftCard, { foreignKey: 'gift_card_id', targetKey: 'gift_card_id' });

2

package.json
{
"name": "@giftwizard/db-models",
"version": "6.0.0",
"version": "7.0.0-dev.0",
"description": "Rise.ai package for 'sequelize' models used by several projects.",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc