Socket
Socket
Sign inDemoInstall

db-migrate-base

Package Overview
Dependencies
1
Maintainers
2
Versions
30
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.6.0 to 1.6.1

10

CHANGELOG.md

@@ -0,1 +1,11 @@

<a name="1.6.1"></a>
## [1.6.1](https://github.com/db-migrate/db-migrate-base/compare/v1.6.0...v1.6.1) (2019-02-11)
### Bug Fixes
* **bug:** wrong order for preparing spec ([a15eaad](https://github.com/db-migrate/db-migrate-base/commit/a15eaad))
<a name="1.6.0"></a>

@@ -2,0 +12,0 @@ # [1.6.0](https://github.com/db-migrate/db-migrate-base/compare/v1.5.4...v1.6.0) (2019-02-11)

11

index.js

@@ -45,3 +45,3 @@ var util = require('util');

_prepareSpec: function(spec, options, tableName, columnName) {
_prepareSpec: function(columnName, spec, options, tableName) {
if (spec.defaultValue.raw) {

@@ -330,10 +330,5 @@ spec.defaultValue.prep = spec.defaultValue.raw;

addColumn: function(tableName, columnName, columnSpec, callback) {
var columnSpec = this.normalizeColumnSpec(columnSpec)
var columnSpec = this.normalizeColumnSpec(columnSpec);
this._prepareSpec(columnName, columnSpec, columnDefOptions, tableName);
var def = this.createColumnDef(
columnName,
columnSpec,
{},
tableName
);
var def = this.createColumnDef(columnName, columnSpec, {}, tableName);
var extensions = '';

@@ -340,0 +335,0 @@ var self = this;

{
"name": "db-migrate-base",
"version": "1.6.0",
"version": "1.6.1",
"description": "db-migrate base driver",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc