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

tm-apps-db

Package Overview
Dependencies
Maintainers
6
Versions
132
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tm-apps-db - npm Package Compare versions

Comparing version 3.2.20-factbox to 3.2.20-factbox2

10

models/factbox.js

@@ -6,3 +6,3 @@ "use strict";

module.exports = function(sequelize, DataTypes) {
const image = sequelize.define('factbox', {
const factbox = sequelize.define('factbox', {
id: {

@@ -57,9 +57,9 @@ type: DataTypes.STRING,

associate: function (models) {
image.belongsToMany(models.section, {through: 'sections_relations', constraints: false});
image.belongsTo(models.section, {constraints: false, as: 'home_section'});
image.hasOne(models.content_item, {constraints: false});
factbox.belongsToMany(models.section, {through: 'sections_relations', constraints: false});
factbox.belongsTo(models.section, {constraints: false, as: 'home_section'});
factbox.hasOne(models.content_item, {constraints: false});
}
}
});
return image;
return factbox;
};
{
"name": "tm-apps-db",
"version": "3.2.20-factbox",
"version": "3.2.20-factbox2",
"description": "Apps consumer database initialiser",

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