@giftwizard/db-models
Advanced tools
Comparing version 5.0.1 to 5.0.2
@@ -63,5 +63,5 @@ const { Sequelize, DataTypes } = require('sequelize'); | ||
db.sequelize = sequelizeConnection; | ||
db.sequelizeConnection = sequelizeConnection; | ||
db.Sequelize = Sequelize; | ||
module.exports = db; |
@@ -1,3 +0,3 @@ | ||
module.exports = ({ sequelize, DataTypes }) => { | ||
const JobsPersist = sequelize.define('JobsPersist', { | ||
module.exports = (sequelizeConnection, DataTypes) => { | ||
const JobsPersist = sequelizeConnection.define('JobsPersist', { | ||
id: { | ||
@@ -4,0 +4,0 @@ type: DataTypes.INTEGER, |
{ | ||
"name": "@giftwizard/db-models", | ||
"version": "5.0.1", | ||
"version": "5.0.2", | ||
"description": "Rise.ai package for 'sequelize' models used by several projects.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
81824