Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@giftwizard/db-models

Package Overview
Dependencies
Maintainers
9
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 16.2.0 to 16.3.0

4

models/order.js

@@ -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 @@

2

package.json
{
"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",

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