@knorm/knorm
Advanced tools
Comparing version 1.6.1 to 1.6.2
@@ -0,1 +1,11 @@ | ||
<a name="1.6.2"></a> | ||
## [1.6.2](https://github.com/knorm/knorm/compare/v1.6.1...v1.6.2) (2018-08-23) | ||
### Bug Fixes | ||
* **Model:** do not duplicate Model.config.fieldNames ([4fe3cbb](https://github.com/knorm/knorm/commit/4fe3cbb)) | ||
<a name="1.6.1"></a> | ||
@@ -2,0 +12,0 @@ ## [1.6.1](https://github.com/knorm/knorm/compare/v1.6.0...v1.6.1) (2018-08-22) |
@@ -329,5 +329,7 @@ const { upperFirst, merge } = require('lodash'); | ||
if (!this._config.fieldNames.includes(name)) { | ||
this._config.fieldNames.push(name); | ||
} | ||
this._config._fields[name] = field; | ||
this._config.fieldsToColumns[name] = field.column; | ||
this._config.fieldNames.push(name); | ||
} | ||
@@ -334,0 +336,0 @@ |
{ | ||
"name": "@knorm/knorm", | ||
"version": "1.6.1", | ||
"version": "1.6.2", | ||
"description": "A purely ES6 class-based ORM for Node.js", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is too big to display
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
443870
10037