Socket
Socket
Sign inDemoInstall

db-migrate-pg

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

db-migrate-pg - npm Package Compare versions

Comparing version 1.4.1 to 1.4.2

9

index.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc