Socket
Socket
Sign inDemoInstall

db-migrate

Package Overview
Dependencies
Maintainers
2
Versions
139
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

db-migrate - npm Package Compare versions

Comparing version 1.0.0-beta.0 to 1.0.0-beta.2

3

lib/executors/versioned/v2.js

@@ -48,3 +48,4 @@ 'use strict';

log.error(
'An error occured. No alternative failure strategy defined. Rolling back!'
'An error occured. No alternative failure strategy defined. Rolling back!',
err
);

@@ -51,0 +52,0 @@ await execUnit.down(context, driver, file);

@@ -224,6 +224,6 @@ const Promise = require('bluebird');

addIndex (t, i, c, u) {
this.checkColumn(t, c);
if (!this.schema[t][c].indizies) {
this.schema[t][c].indizies = {};
if (Array.isArray(c)) {
c.forEach(x => this.checkColumn(t, x));
} else {
this.checkColumn(t, c);
}

@@ -230,0 +230,0 @@

@@ -34,3 +34,3 @@ {

],
"version": "1.0.0-beta.0",
"version": "1.0.0-beta.2",
"engines": {

@@ -37,0 +37,0 @@ "node": ">=0.6.0"

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