db-migrate
Advanced tools
Comparing version 0.6.2 to 0.6.3
@@ -199,1 +199,5 @@ ## 0.1.0 | ||
## 0.6.3 | ||
Fix | ||
- Fix postgres issue with camelCased column name during insert #137 (via @tone81) |
@@ -177,2 +177,10 @@ var util = require('util'); | ||
insert: function(tableName, columnNameArray, valueArray, callback) { | ||
columnNameArray = columnNameArray.map(function(columnName) { | ||
return (columnName.charAt(0) != '"') ? '"' + columnName + '"' : columnName; | ||
}); | ||
return this._super(tableName, columnNameArray, valueArray, callback); | ||
}, | ||
runSql: function() { | ||
@@ -179,0 +187,0 @@ var callback = arguments[arguments.length - 1]; |
@@ -14,3 +14,3 @@ { | ||
], | ||
"version": "0.6.2", | ||
"version": "0.6.3", | ||
"engines": { | ||
@@ -17,0 +17,0 @@ "node": ">=0.6.0" |
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
101589
1671