@synconset/factory-girl-typeorm
Advanced tools
Comparing version 2.0.1 to 2.1.0
@@ -25,3 +25,3 @@ class TypeOrmAdapter { | ||
} | ||
await tm.delete(Model, model.id); | ||
await tm.delete(Model, model.id ? model.id : model.api_id); | ||
if (this.connection.options.type === 'sqlite') { | ||
@@ -28,0 +28,0 @@ return tm.query('PRAGMA foreign_keys = ON;'); |
{ | ||
"name": "@synconset/factory-girl-typeorm", | ||
"version": "2.0.1", | ||
"version": "2.1.0", | ||
"description": "Typeorm adapter for factory-girl", | ||
@@ -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
3181