sequelize-fixtures
Advanced tools
Comparing version 0.7.0 to 0.8.0
module.exports = function(grunt){ | ||
grunt.loadTasks('tasks'); | ||
}; |
@@ -0,0 +0,0 @@ var Loader = require('./lib/loader'), |
var Promise = require('bluebird'); | ||
var objectAssign = require('object-assign'); | ||
var Op = require('sequelize').Op; | ||
@@ -75,7 +76,6 @@ var Loader = module.exports = function(options) { | ||
if (data.hasOwnProperty(k) && (!fixture.keys || fixture.keys.indexOf(k) !== -1) && fieldType !== 'GEOMETRY' && fieldType !== 'VIRTUAL') { | ||
//postgres | ||
//postgres | ||
if (fieldType === 'JSONB') { | ||
where[k] = { | ||
$contains: data[k] | ||
}; | ||
where[k] = {}; | ||
where[k][Op.contains] = data[k]; | ||
} else if (Model.rawAttributes[k].hasOwnProperty('set')) { | ||
@@ -82,0 +82,0 @@ var val = null; |
@@ -0,0 +0,0 @@ var Promise = require('bluebird'), |
{ | ||
"name": "sequelize-fixtures", | ||
"version": "0.7.0", | ||
"version": "0.8.0", | ||
"description": "sequelize fixture loader", | ||
@@ -19,3 +19,3 @@ "main": "index.js", | ||
"glob": "~7.0.5", | ||
"js-yaml": "~2.1.0", | ||
"js-yaml": "^3.3.5", | ||
"object-assign": "^4.0.1" | ||
@@ -22,0 +22,0 @@ }, |
@@ -0,0 +0,0 @@ [![Build Status](https://travis-ci.org/domasx2/sequelize-fixtures.svg?branch=master)](https://travis-ci.org/domasx2/sequelize-fixtures) |
@@ -0,0 +0,0 @@ var sf = require('../index'); |
@@ -0,0 +0,0 @@ module.exports = [ |
@@ -0,0 +0,0 @@ [ |
@@ -0,0 +0,0 @@ [ |
@@ -0,0 +0,0 @@ [ |
@@ -0,0 +0,0 @@ module.exports = [ |
@@ -0,0 +0,0 @@ module.exports = [ |
@@ -0,0 +0,0 @@ module.exports = function (sequelize, DataTypes) { |
@@ -0,0 +0,0 @@ module.exports = function (sequelize, DataTypes) { |
@@ -0,0 +0,0 @@ module.exports = function (sequelize, DataTypes) { |
@@ -0,0 +0,0 @@ module.exports = function (sequelize, DataTypes) { |
@@ -0,0 +0,0 @@ module.exports = function (sequelize, DataTypes) { |
@@ -0,0 +0,0 @@ module.exports = function (sequelize, DataTypes) { |
@@ -0,0 +0,0 @@ var Sequelize = require('sequelize'), |
@@ -0,0 +0,0 @@ module.exports = function (sequelize, DataTypes) { |
@@ -0,0 +0,0 @@ module.exports = function (sequelize, DataTypes) { |
@@ -0,0 +0,0 @@ module.exports = function (sequelize, DataTypes) { |
@@ -0,0 +0,0 @@ module.exports = function (sequelize, DataTypes) { |
@@ -0,0 +0,0 @@ module.exports = function (sequelize, DataTypes) { |
@@ -0,0 +0,0 @@ module.exports = function (sequelize, DataTypes) { |
@@ -0,0 +0,0 @@ module.exports = function (sequelize, DataTypes) { |
@@ -0,0 +0,0 @@ var sf = require('../index'), |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
56181
+ Addedargparse@1.0.10(transitive)
+ Addedesprima@4.0.1(transitive)
+ Addedjs-yaml@3.14.1(transitive)
+ Addedsprintf-js@1.0.3(transitive)
- Removedargparse@0.1.16(transitive)
- Removedesprima@1.0.4(transitive)
- Removedjs-yaml@2.1.3(transitive)
- Removedunderscore@1.7.0(transitive)
- Removedunderscore.string@2.4.0(transitive)
Updatedjs-yaml@^3.3.5