db-migrate-pg
Advanced tools
Comparing version 1.4.1 to 1.4.2
@@ -655,9 +655,14 @@ var util = require('util'); | ||
// we case run_on to string, for dbs that may have bigger precision | ||
// than miliseconds | ||
_getKV: function (table, key) { | ||
var sql = | ||
'SELECT * FROM ' + | ||
`SELECT ${this.escapeDDL('key')}, | ||
${this.escapeDDL('value')}, | ||
${this.escapeDDL('run_on')}::STRING | ||
FROM ` + | ||
this._escapeDDL + | ||
table + | ||
this._escapeDDL + | ||
' WHERE key = $1'; | ||
` WHERE ${this.escapeDDL('key')} = $1`; | ||
return this.allAsync(sql, [key]).then(([row]) => row); | ||
@@ -664,0 +669,0 @@ }, |
{ | ||
"name": "db-migrate-pg", | ||
"version": "1.4.1", | ||
"version": "1.4.2", | ||
"description": "A postgresql driver for db-migrate", | ||
@@ -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
31515
689