sequelize-fixtures
Advanced tools
Comparing version 1.1.1 to 1.2.0
@@ -82,3 +82,3 @@ var Promise = require('./Promise'); | ||
var fieldType = Model.rawAttributes[k].type.constructor.key; | ||
if (data.hasOwnProperty(k) && (!fixture.keys || fixture.keys.indexOf(k) !== -1) && fieldType !== 'GEOMETRY' && fieldType !== 'VIRTUAL') { | ||
if (data.hasOwnProperty(k) && (!fixture.keys || fixture.keys.indexOf(k) !== -1) && fieldType !== 'GEOMETRY' && fieldType !== 'GEOGRAPHY' && fieldType !== 'VIRTUAL') { | ||
//postgres | ||
@@ -250,3 +250,3 @@ if (fieldType === 'JSONB') { | ||
} else { | ||
this.logger.warn('attribute "' + key +"' not defined on model '" + Model.name + "'."); | ||
self.logger.warn('attribute "' + key +"' not defined on model '" + Model.name + "'."); | ||
} | ||
@@ -253,0 +253,0 @@ } |
{ | ||
"name": "sequelize-fixtures", | ||
"version": "1.1.1", | ||
"version": "1.2.0", | ||
"description": "sequelize fixture loader", | ||
@@ -24,8 +24,8 @@ "main": "index.js", | ||
"devDependencies": { | ||
"mocha": "*", | ||
"release-it": "^12.3.0", | ||
"mocha": "^8.0.1", | ||
"release-it": "^13.6.3", | ||
"sequelize": "^5.0.0", | ||
"should": "*", | ||
"sinon": "^1.14.1", | ||
"sqlite3": "*" | ||
"sqlite3": "^4.1.1" | ||
}, | ||
@@ -32,0 +32,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
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
60890