db-migrate-base
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -686,3 +686,4 @@ var util = require('util'); | ||
this._escapeDDL + | ||
' ORDER BY run_on DESC, name DESC'; | ||
` ORDER BY ${this.escapeDDL('run_on')} DESC, | ||
${this.escapeDDL('name')} DESC`; | ||
return this.allAsync(sql); | ||
@@ -697,3 +698,3 @@ }, | ||
this._escapeDDL + | ||
' WHERE key = ?'; | ||
` WHERE ${this.escapeDDL('key')} = ?`; | ||
return this.allAsync(sql, [key]).then(([row]) => row); | ||
@@ -748,3 +749,3 @@ }, | ||
this._escapeDDL + | ||
' WHERE key = ?'; | ||
` WHERE ${this.escapeDDL('key')} = ?`; | ||
return this.runSql(sql, [key]); | ||
@@ -751,0 +752,0 @@ }, |
{ | ||
"name": "db-migrate-base", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "db-migrate base driver", | ||
@@ -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
32772
882