sequelize-fixtures
Advanced tools
Comparing version 0.4.6 to 0.4.7
@@ -112,3 +112,3 @@ var Promise = require('bluebird'); | ||
val = data[key]; | ||
if (assoc) { | ||
@@ -119,3 +119,3 @@ if (assoc.associationType === 'BelongsTo') { | ||
.then(function(obj) { | ||
result[assoc.identifier] = obj[assoc.target.primaryKeyField]; | ||
result[assoc.identifier] = obj[assoc.target.primaryKeyField || 'id']; | ||
return Promise.resolve(); | ||
@@ -122,0 +122,0 @@ }) |
{ | ||
"name": "sequelize-fixtures", | ||
"version": "0.4.6", | ||
"version": "0.4.7", | ||
"description": "sequelize fixture loader", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
41412