@vbilopav/pgmigrations
Advanced tools
Comparing version 0.3.1 to 0.3.2
@@ -603,3 +603,6 @@ const path = require("path"); | ||
error("Migration failed with exit code " + result + ". Changes have been rolled back."); | ||
return; | ||
if (tmpFile && fs.existsSync(tmpFile)) { | ||
console.info("Migration file: " + tmpFile); | ||
} | ||
process.exit(1); | ||
} else { | ||
@@ -611,2 +614,6 @@ console.info("Migration completed successfully."); | ||
error("Migration failed. Changes have been rolled back."); | ||
if (tmpFile && fs.existsSync(tmpFile)) { | ||
console.info("Migration file: " + tmpFile); | ||
} | ||
process.exit(1); | ||
} | ||
@@ -618,7 +625,7 @@ } | ||
//error("Migration failed. Changes have been rolled back."); | ||
if (tmpFile && fs.existsSync(tmpFile)) { | ||
console.info("Migration file: " + tmpFile); | ||
} | ||
process.exit(1); | ||
} | ||
if (tmpFile && fs.existsSync(tmpFile)) { | ||
console.info("Migration file: " + tmpFile); | ||
} | ||
} | ||
@@ -625,0 +632,0 @@ } |
{ | ||
"name": "@vbilopav/pgmigrations", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"description": "PostgreSQL Migration Tool for Node.js and NPM", | ||
@@ -5,0 +5,0 @@ "author": "vb-consulting", |
72204
1290