db-migrate
Advanced tools
Comparing version 1.0.0-beta.0 to 1.0.0-beta.2
@@ -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" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
152670
3811