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.15 to 1.0.0-beta.16

4

lib/learn.js

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

this.foreign = schema.f;
if (!schema.e) {
schema.e = {};
}
this.extra = schema.e;
this.modS = mod.c;

@@ -22,0 +26,0 @@ this.modI = mod.i;

3

lib/walker.js

@@ -37,4 +37,5 @@ 'use strict';

* f: foreignKey
* e: extra items for the schema (like ENUM tyes)
*/
this.internals.schema = { i: {}, c: {}, f: {} };
this.internals.schema = { i: {}, c: {}, f: {}, e: {} };
/**

@@ -41,0 +42,0 @@ * s: commands

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

],
"version": "1.0.0-beta.15",
"version": "1.0.0-beta.16",
"engines": {

@@ -37,0 +37,0 @@ "node": ">=8.0.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