Socket
Socket
Sign inDemoInstall

db-migrate

Package Overview
Dependencies
Maintainers
1
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 0.7.0 to 0.7.1

5

CHANGELOG.md

@@ -224,1 +224,6 @@ ## 0.1.0

- Add ability to use .env file for config if present #170 (via @bvalosek)
## 0.7.1 (2014-08-05)
Improvement:
- allow addColumn to create primary keys #183 (via @lourenzo)

2

lib/driver/mysql.js

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

if (spec.primaryKey && options.emitPrimaryKey) {
if (spec.primaryKey && (!options || options.emitPrimaryKey)) {
constraint.push('PRIMARY KEY');

@@ -72,0 +72,0 @@ if (spec.autoIncrement) {

@@ -14,3 +14,3 @@ {

],
"version": "0.7.0",
"version": "0.7.1",
"engines": {

@@ -17,0 +17,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